Re: CRLF problems with Git on Win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 09, 2008 at 02:03:32PM +0000, Johannes Schindelin wrote:
>
> On Wed, 9 Jan 2008, Gregory Jefferis wrote:
> 
> > crlf=safe [i.e. munging CRLFs only if there are no bare LFs] sounds 
> > appealing to me as well because it looks like munging that is always 
> > reversible.
> 
> There is a bigger problem here, though: As of now, you can add a (loose) 
> object from a big file pretty easily even on a small machine, because you 
> do not need the whole buffer, but you stream it to hash-object.  IIRC 
> Junio wrote a patch to allow this with "git-add", using fast-import, but 
> that patch probably hasn't been applied.

I don't think that crlf=safe requires that the whole file was put into
the buffer. It can work with stream, but it will call die() if a file
that was detected as text has a naked LF.

Dmitry
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux