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

Re: git-checkout changes the index but not the checked out files?

From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Date
Apr 23, 2007, 18:35 UTC
Message-ID
<20070423183551.GB25465@informatik.uni-freiburg.de>
In-Reply-To
<46a038f90704221745h1bf2955cyfb40f6e8c08a336d@mail.gmail.com>
Hallo,
Martin Langhoff wrote:
> Hmmmm. There was a .git/mdl18-local file that had the bogus SHA1 in
> it: a26c09be05a08e5f911ef84b5f8010ba155ea77d . I don't know how it got
> there and how it had the wrong sha1 in it. 
I already saw this, too.  In my case it was the result from making 
	git update-ref $branch ...
and I forgot to prefix $branch with refs/heads.

Best regards Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=e+%5E+%28i+pi%29
Previous: Martin Langhoff
Message 8 of 8 in “git-checkout changes the index but not the checked out files?”
  1. Martin LanghoffApr 22, 2007
  2. Junio C HamanoApr 22, 2007
  3. Martin LanghoffApr 23, 2007
  4. Junio C HamanoApr 23, 2007
  5. Martin LanghoffApr 23, 2007
  6. Linus TorvaldsApr 23, 2007
  7. Martin LanghoffApr 23, 2007
  8. Uwe Kleine-KönigApr 23, 2007

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.