From: Junio C Hamano <gitster@pobox.com>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: Yue Lin Ho <yuelinho777@gmail.com>,
git@vger.kernel.org, msysGit <msysgit@googlegroups.com>
Subject: Re: Re: The different EOL behavior between libgit2-based software and official Git
Date: Mon, 23 Jun 2014 10:29:10 -0700 [thread overview]
Message-ID: <xmqqionrcz6h.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <53A67BE1.4060903@web.de> ("Torsten Bögershausen"'s message of "Sun, 22 Jun 2014 08:46:57 +0200")
Torsten Bögershausen <tboegi@web.de> writes:
> No, it hadn't, under my Linux box.
> (And I had a .gittatributes file on the Mac OS box, which I forgot about.
OK, that explains the difference; thanks for double-checking.
> Files with mixed LF CRLF in the repo are not changed by Git, when the checkout out
> or checked in, unless the .gitattributes say that the file is text.
Hmph, I would have thought, after reading the "Does anybody do that
crazy stuff" comment in convert.c, that we refrain from attempting
to convert a file with a mixed mess, even if the file is marked as
text, because it is unclear what it means to have both LF and CRLF
in a file that is text. Is "A\rB\nC\r\n" a line terminated with a
CRLF that happens to have a lone CR and then LF in between?
You may be looking at a bug in a corner case that is so irrelevant
that nobody has even noticed, let alone attempted to fix.
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2014-06-23 17:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 2:59 The different EOL behavior between libgit2-based software and official Git Yue Lin Ho
2014-06-19 6:39 ` Torsten Bögershausen
2014-06-19 7:25 ` Yue Lin Ho
2014-06-20 6:56 ` Torsten Bögershausen
2014-06-20 8:30 ` Yue Lin Ho
2014-06-20 10:33 ` [msysGit] " Torsten Bögershausen
2014-06-20 16:33 ` Junio C Hamano
2014-06-22 6:46 ` [msysGit] " Torsten Bögershausen
2014-06-23 17:29 ` Junio C Hamano [this message]
2014-06-20 8:44 ` Yue Lin Ho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqionrcz6h.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=msysgit@googlegroups.com \
--cc=tboegi@web.de \
--cc=yuelinho777@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.