Re: mingw, windows, crlf/lf, and git

From: Johannes Sixt <>
Date: 2007-02-15 03:16:03
Linus Torvalds wrote:
> On Tue, 13 Feb 2007, Junio C Hamano wrote:
> >
> > Thanks, applied.  I think git-apply has separate codepaths for
> > both reading and writing; I won't look into them before 1.5.0
> > but people are welcome to help advancing the cause before I get
> > to it ;-).
> Actually, I did it myself.
> This is a "lazy man's auto-CRLF", and it really is pretty simple.

Thanks a lot, busy beaver! I gave this a quick spin with a few
interesting operations: merges and rebase. Merges leave the merge
results with only LFs behind. Rebasing seems to work as expected
(working files have CRLFs), except when merges are needed.

Doesn't git-unpack-file also need to call into the converter?

-- Hannes

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Thu Feb 15 03:15:01 2007

This archive was generated by hypermail 2.1.8 : 2007-02-15 03:20:02 EST