Re: Bug report
- From
- John Whitney <jjw@emsoftware.com>
- Date
- Oct 4, 2012, 16:16 UTC
- Message-ID
- <506DB655.8020504@emsoftware.com>
- In-Reply-To
- <506DA992.7090904@gmail.com>
Andrew,
Thanks for checking this on your machine.
This problem occurs on Mac, Windows, and Linux, and with multiple versions of git. Note that in my script a CR is appended to test.txt. On the Mac, you can generate this in Terminal by pressing Ctrl-V Ctrl-M. Or, alternatively, just download and run the script like this: "sh git_failure.sh"
---John
On 10/4/12 10:21 AM, Andrew Wong wrote:
Show 11 quoted lines
> On 10/04/2012 12:35 AM, John Whitney wrote: >> I just ran into a problem that I'm pretty sure is a bug in git. Just >> read and run this (fairly trivial) shell script to replicate. > I tried your steps on a Mac, but I wasn't able to produce the issue. > Perhaps I don't have the right CRLF configs to trigger the issue. I've > tried it on v1.7.9.6, which came with Xcode, and v1.7.7. What git > version are you using? And, if any, what are your configs for > "core.eol", "core.safecrlf", and "core.autocrlf" ? > > What Phil said also makes sense though. >
-- Great support for great users! Please visit http://emsoftware.com/support/ for our support policies, instructions and FAQs.