Code

git-fsck-cache: be stricter about "tree" objects
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:08:43 +0000 (16:08 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Jul 2005 01:57:14 +0000 (18:57 -0700)
commit64071805eda2b57d2b77943bb3f9865d90562ecf
treef716258e3fd266b5c917765ba56ae1a6a5a6a8f0
parent4e81304afc529c0caca7c012a155be4e342b52d4
git-fsck-cache: be stricter about "tree" objects

In particular, warn about things like zero-padding of the mode bits,
which is a big no-no, since it makes otherwise identical trees have
different representations (and thus different SHA1 numbers).

Also make the warnings more regular.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fsck-cache.c
tree.c
tree.h