git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git diff, git mergetool and CRLF conversion
@ 2009-01-21 16:55 Hannu Koivisto
  2009-01-21 17:23 ` Charles Bailey
  0 siblings, 1 reply; 12+ messages in thread
From: Hannu Koivisto @ 2009-01-21 16:55 UTC (permalink / raw)
  To: git

Hi,

Suppose I have core.autocrlf set to true and and due to that a
version controlled file in a working tree with CRLF line endings.
If I modify such a file and then say "git diff", I get a patch with
LF line endings.

Also, if get a merge conflict with a file to which CRLF conversion
is applied and run e.g. "git mergetool -t emerge", the temporary
files representing stage2 and stage3 versions seem to have LF line
endings.

Is this intended behaviour?  I'm using 1.6.1 on Cygwin.

-- 
Hannu

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-01-27 13:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 16:55 git diff, git mergetool and CRLF conversion Hannu Koivisto
2009-01-21 17:23 ` Charles Bailey
2009-01-21 21:03   ` Theodore Tso
2009-01-21 22:57     ` [PATCH] mergetool: respect autocrlf by using checkout-index Charles Bailey
2009-01-23 17:20       ` Junio C Hamano
2009-01-23 18:18         ` Charles Bailey
2009-01-26 16:15         ` Hannu Koivisto
2009-01-26 16:31           ` Charles Bailey
2009-01-26 21:28             ` Junio C Hamano
2009-01-26 22:08               ` Junio C Hamano
2009-01-26 23:09                 ` Junio C Hamano
2009-01-27 13:58                   ` Hannu Koivisto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).