mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01: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