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

Re: Something strange has happened to my git HEADs.

From
KHKrzysztof Halasa <khc@pm.waw.pl>
Date
Mar 15, 2008, 18:44 UTC
Message-ID
<m3ve3n3jzm.fsf@maximus.localdomain>
In-Reply-To
<7vwso3n8i5.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 14 quoted lines
>> lrwx 1      30 2007-10-09 00:55 config -> ~/scm/linux-2.6/config
>> lrwx 1      35 2007-08-24 18:33 description -> ~/scm/linux-2.6/description
>> -rw- 1     126 2008-02-01 21:39 FETCH_HEAD
>> lrwx 1      19 2008-03-15 17:52 HEAD -> refs/heads/eelogger
>> -rw- 1 2220597 2008-03-15 17:56 index
>> drwx 2    4096 2008-03-15 17:57 info
>> -rw- 1   21482 2008-03-15 17:57 info/refs
>> lrwx 1      28 2007-08-24 18:33 logs -> ~/scm/linux-2.6/logs
>> lrwx 1      31 2007-08-24 18:33 objects -> ~/scm/linux-2.6/objects
>> -rw- 1      41 2008-03-15 17:56 ORIG_HEAD
>> -rw- 1   17909 2008-03-15 17:56 packed-refs
>> lrwx 1      28 2007-08-24 18:33 refs -> ~/scm/linux-2.6/refs
>
> This is wrong.  How did you set this up initially?

By hand, I'm using that from the beginning (with some incremental changes). Are only info and packed-refs missing?

> If you are putting a work tree by symlinking contents of its .git
> directory, info and packed-refs are alsy symlinked.

Info seems to have been dropped somehow or maybe never linked in this directory, but it's not a problem unless I see it again. I just didn't know about packing references, linking packed-refs made it work.

How about the error message? Seems serious, though git-rebase did its work.

-- 
Krzysztof Halasa
Previous: Junio C Hamano
Message 4 of 4 in “Something strange has happened to my git HEADs.”
  1. Krzysztof HalasaMar 15, 2008
  2. Krzysztof HalasaMar 15, 2008
  3. Junio C HamanoMar 15, 2008
  4. Krzysztof HalasaMar 15, 2008

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.