author | Linus Torvalds <torvalds@g5.osdl.org> | |
Wed, 27 Jul 2005 23:08:43 +0000 (16:08 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Jul 2005 01:57:14 +0000 (18:57 -0700) | ||
commit | 64071805eda2b57d2b77943bb3f9865d90562ecf | |
tree | f716258e3fd266b5c917765ba56ae1a6a5a6a8f0 | tree | snapshot |
parent | 4e81304afc529c0caca7c012a155be4e342b52d4 | commit | diff |
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>
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 | diff | blob | history | |
tree.c | diff | blob | history | |
tree.h | diff | blob | history |