Re: Something strange has happened to my git HEADs.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 15, 2008, 18:32 UTC
- Message-ID
- <7vwso3n8i5.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <m38x0j51bw.fsf@maximus.localdomain>
Krzysztof Halasa <khc@pm.waw.pl> writes:
Show 14 quoted lines
> 2. Working dirs using this repo are in /usr/src/linux* and > /usr/src/linux-test is one of them, currently (.git dir): > 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?
If you are putting a work tree by symlinking contents of its .git directory, info and packed-refs are alsy symlinked. See how contrib/workdir/git-new-workdir does this.