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

Re: git checkout branch puzzle

From
CChris.Cheney <chris.cheney.nospam@tesco.net>
Date
May 6, 2010, 20:30 UTC
Message-ID
<Xns9D70DAFB1423DChrisCheneytesconet@80.91.229.10>
In-Reply-To
<Xns9D6D5CD466CE2ChrisCheneytesconet@80.91.229.10>

"Chris.Cheney" <chris.cheney.nospam@tesco.net> wrote in news:Xns9D6D5CD466CE2ChrisCheneytesconet@80.91.229.10:

Show 18 quoted lines
> Jeff King <peff@peff.net> wrote in
> news:20100503064053.GA20002@coredump.intra.peff.net: 
> 
>> On Sun, May 02, 2010 at 08:09:32PM +0000, Chris.Cheney wrote:
>> 
>>> Neither of our config files contain autocrlf settings, but it's
>>> something that I'll look further into. Neither of us had made recent
>>> config changes. 
>> 
>> I believe autocrlf is on by default for msysgit. But if there is
>> nothing in your config, then probably nothing changed. If you can
>> reproduce the situation, it might be worth narrowing down a simple
>> test case and posting the exact commands and output.
> 
> Thanks. Indeed, after asking here, that was to be my next step - I
> need to restock up on round tuits :-)
> 
> FWIW My money is on a rm/git-rm or a mv/git-mv "user" error.
I would have lost my money.

You were almost spot-on. It turned out that my remote collaborator was using a version of msysgit prior to the default of autocrlf being true.

We'll be recloning from a freshly built repository r.s.n.
Thanks for your help
Chris
Previous: Chris.Cheney
Message 7 of 7 in “git checkout branch puzzle”
  1. Chris.CheneyMay 1, 2010
  2. Jeff KingMay 2, 2010
  3. Chris.CheneyMay 2, 2010
  4. Chris.CheneyMay 2, 2010
  5. Jeff KingMay 3, 2010
  6. Chris.CheneyMay 3, 2010
  7. Chris.CheneyMay 6, 2010

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.