sha1_file: refactor has_sha1_file_with_flags
authorJonathan Tan <jonathantanmy@google.com>
Thu, 22 Jun 2017 00:40:24 +0000 (17:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jun 2017 17:28:58 +0000 (10:28 -0700)
has_sha1_file_with_flags() implements many mechanisms in common with
sha1_object_info_extended(). Make has_sha1_file_with_flags() a
convenience function for sha1_object_info_extended() instead.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found