summaryrefslogtreecommitdiff
path: root/csum-file.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-27 15:16:03 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-07-27 18:57:03 -0700
commitde2eb7f694da6396828e52588c9807a948a039a0 (patch)
tree98cd90b0a21758cc28625e1c95150a70ae1e7992 /csum-file.h
parentMake "parse_commit()" be a lot more careful (diff)
downloadtgif-de2eb7f694da6396828e52588c9807a948a039a0.tar.xz
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 'csum-file.h')
0 files changed, 0 insertions, 0 deletions