git ls-tree prints wacko file sizes if it can't find the blob
- From
jidanni@jidanni.org <jidanni@jidanni.org>
- Date
- Jan 1, 2009, 23:18 UTC
- Message-ID
- <87eizmty25.fsf_-_@jidanni.org>
- In-Reply-To
- <20090101192153.GA6536@coredump.intra.peff.net>
git ls-tree prints wacko file sizes if it can't find the blob: $ git ls-tree --abbrev=4 -l 76e4 error: unable to find ae832f2245892ddde5221357466448b409775142 100644 blob ae83 3220821896 words
It is even affected by --abbrev: $ for i in 4 5 40 999; do git ls-tree --abbrev=$i -l 76e4; done 2>&-| perl -nwale 'print $F[3]' 3214344536 3219092952 3216251688 3217198088 $ git version git version 1.6.0.6