Re: git checkout branch puzzle
- From
Jeff King <peff@peff.net>
- Date
- May 2, 2010, 04:59 UTC
- Message-ID
- <20100502045901.GD14776@coredump.intra.peff.net>
- In-Reply-To
- <Xns9D6BC0C4C8784ChrisCheneytesconet@80.91.229.10>
On Sat, May 01, 2010 at 05:55:47PM +0000, Chris.Cheney wrote:
Show 11 quoted lines
> I have been using msysgit (curently 1.7.0.2.msysgit.0) for about 18 months > and thought that I had managed to understand most things. However, the > following sequence has me baffled: > > a) on branch 'master', git status shows that the working directory is clean > > b) git checkout HEAD^ gives the usual moan about moving to a head which > isn't a local branch > > c) git checkout master followed by git status gives "changed but not > updated" and a list of "modified" files
Part (c) shouldn't show anything in "git status". I wonder if it is a line-ending conversion issue, since you are using msysgit, and since that is the usual culprit for files mysteriously looking changed. Might you have recently changed the settings of core.autocrlf?
-Peff