commit | 31c8221acb7c7acaea6ce2c680c2985581ce0066 | [log] [tgz] |
---|---|---|
author | Josh Micich <josh.micich@gmail.com> | Thu May 14 15:49:10 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Sat May 16 10:35:45 2009 -0700 |
tree | d740a5fa449493259c531b7827a896d7857b1ae0 | |
parent | f1cf2d8b1467b5973f249703b31e709eaede97ad [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>