mirror of
https://github.com/git/git.git
synced 2026-01-13 20:30:48 +00:00
There is no point reading the whole object just to make sure it exists and it is of the expected type. We added sha1_object_info() for such need after this code was written, so use it. Signed-off-by: Junio C Hamano <junkio@cox.net>
3.2 KiB
3.2 KiB