author | Josh Micich <josh.micich@gmail.com> | |
Thu, 14 May 2009 22:49:10 +0000 (15:49 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 May 2009 17:35:45 +0000 (10:35 -0700) | ||
commit | 31c8221acb7c7acaea6ce2c680c2985581ce0066 | |
tree | d740a5fa449493259c531b7827a896d7857b1ae0 | tree | snapshot |
parent | f1cf2d8b1467b5973f249703b31e709eaede97ad | commit | diff |
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>
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>
builtin-mktree.c | diff | blob | history |