Oliver Neukum [off-list ref] writes:
Am Donnerstag, 29. September 2005 21:34 schrieb Jon Loeliger:
quoted
On Thu, 2005-09-29 at 14:08, Oliver Neukum wrote:
quoted
Unfortunately, following the instructions to the letter produces this:
oliver@oenone:~/linux-2.6> git checkout
usage: read-tree (<sha> | -m <sha1> [<sha2> <sha3>])
Yeah. See if you still have a .git/HEADS that symlinks
to a valid place or not...?
oliver@oenone:~/linux-2.6> ls -la .git/
insgesamt 14
drwxrwxr-x 6 oliver users 224 2005-09-29 21:06 .
drwxr-xr-x 3 oliver users 72 2005-09-29 20:45 ..
-rw-rw-r-- 1 oliver users 19 2005-05-02 01:02 description
lrwxrwxrwx 1 oliver users 17 2005-09-29 21:06 HEAD -> refs/heads/master
-rw------- 1 oliver users 32 2005-09-29 21:06 index
I wonder what that 32-byte small file called 'index' is doing
there. If this is the kernel tree, its index file should weigh
about 1.7MB if I recall correctly.
Am Freitag, 30. September 2005 09:37 schrieb Junio C Hamano:
Oliver Neukum [off-list ref] writes:
quoted
Am Donnerstag, 29. September 2005 21:34 schrieb Jon Loeliger:
quoted
On Thu, 2005-09-29 at 14:08, Oliver Neukum wrote:
quoted
Unfortunately, following the instructions to the letter produces this:
oliver@oenone:~/linux-2.6> git checkout
usage: read-tree (<sha> | -m <sha1> [<sha2> <sha3>])
Yeah. See if you still have a .git/HEADS that symlinks
to a valid place or not...?
oliver@oenone:~/linux-2.6> ls -la .git/
insgesamt 14
drwxrwxr-x 6 oliver users 224 2005-09-29 21:06 .
drwxr-xr-x 3 oliver users 72 2005-09-29 20:45 ..
-rw-rw-r-- 1 oliver users 19 2005-05-02 01:02 description
lrwxrwxrwx 1 oliver users 17 2005-09-29 21:06 HEAD -> refs/heads/master
-rw------- 1 oliver users 32 2005-09-29 21:06 index
I wonder what that 32-byte small file called 'index' is doing
there. If this is the kernel tree, its index file should weigh
about 1.7MB if I recall correctly.
I have no idea, but the instructions as stated didn't work for me.
Can you replicate that?
Regards
Oliver
On Fri, 30 Sep 2005, Junio C Hamano wrote:
I wonder what that 32-byte small file called 'index' is doing
there. If this is the kernel tree, its index file should weigh
about 1.7MB if I recall correctly.
32 bytes is what you get for an empty index (it's a 12-byte header,
followed by a 20-byte SHA1 of the contents).
In general, such an index file it should be 100% equivalent to not having
an index file at all.
Linus