summaryrefslogtreecommitdiff
path: root/builtin-count-objects.c
diff options
context:
space:
mode:
authorJosh Micich <josh.micich@gmail.com>2009-05-14 22:49:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-16 17:35:45 (GMT)
commit31c8221acb7c7acaea6ce2c680c2985581ce0066 (patch)
treed740a5fa449493259c531b7827a896d7857b1ae0 /builtin-count-objects.c
parentf1cf2d8b1467b5973f249703b31e709eaede97ad (diff)
downloadgit-31c8221acb7c7acaea6ce2c680c2985581ce0066.zip
git-31c8221acb7c7acaea6ce2c680c2985581ce0066.tar.gz
git-31c8221acb7c7acaea6ce2c680c2985581ce0066.tar.bz2
mktree: validate entry type in input
Previously mktree would accept tree entries which had a mismatch between the declared type and the actual type of object. Check the actual type of the object when it is available locally. Signed-off-by: Josh Micich <josh.micich@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-count-objects.c')
0 files changed, 0 insertions, 0 deletions