git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bug report

From
JWJohn 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.
Previous: Andrew WongNext: John Whitney
Message 10 of 12 in “Bug report”
  1. John WhitneyOct 4, 2012
  2. Phil HordOct 4, 2012
  3. John WhitneyOct 4, 2012
  4. Jeff KingOct 6, 2012
  5. John WhitneyOct 7, 2012
  6. Jeff KingOct 7, 2012
  7. John WhitneyOct 9, 2012
  8. John WhitneyOct 9, 2012
  9. Andrew WongOct 4, 2012
  10. John WhitneyOct 4, 2012
  11. John WhitneyOct 4, 2012
  12. Andrew WongOct 4, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.