Hi Linus,
I'm trying to setup a mirror of your Linux tree with git 1.5.3.1 and v2.6.23-5054-g821f3ef and I get the following error during this scenario:
$ mkdir linux $ cd linux $ git --bare init --shared=all Initialized empty shared Git repository in /home/emmedve1/linux/ $ git remote add --mirror -f origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git $ git fsck --full --strict <- all fine $ git remote update Updating origin error: Object 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c is a tree, not a commit error: Object 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c is a tree, not a commit $ git fsck --full --strict <- all fine
The situation is similar with the git tree:
error: Object a0e7d36193b96f552073558acf5fcc1f10528917 is a blob, not a commit
Other repositories (sparse for example) don't necessarily expose this, but I didn't test too many. This situation doesn't seem to surface for non-bare clones. I searched a bit the web for this, but nothing obvious showed up.
Is this something I should be worried about?
Thanks for your patience, Emil.