summaryrefslogtreecommitdiff
path: root/rev-parse.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 22:16:03 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-07-28 01:57:03 (GMT)
commitde2eb7f694da6396828e52588c9807a948a039a0 (patch)
tree98cd90b0a21758cc28625e1c95150a70ae1e7992 /rev-parse.c
parentf7cc77d78b9ee59dce162a50815ac6c1918a4397 (diff)
downloadgit-de2eb7f694da6396828e52588c9807a948a039a0.zip
git-de2eb7f694da6396828e52588c9807a948a039a0.tar.gz
git-de2eb7f694da6396828e52588c9807a948a039a0.tar.bz2
git-fsck-cache.c: check commit objects more carefully
We historically used to be very careful in fsck-cache, but when it was re-written to use "parse_object()" instead of parsing everything by hand, it lost a bit of the checks. This, together with the previous commit, should make it do more proper commit object syntax checks. Also add a "--strict" flag, which warns about the old-style "0664" file mode bits, which shouldn't exist in modern trees, but that happened early on in git trees and that the default git-fsck-cache thus silently accepts. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'rev-parse.c')
0 files changed, 0 insertions, 0 deletions