]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/index-pack.c
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)
commite83e71c5e15f2c6aaf9bdb8ee9593a46c3bb9a5b
tree933f4dd4f8205411367bc2f24208a1a632fd2267
parentcd585e2a33841d725b821adbb9b48654fc7d0b61
sha1_file: refactor has_sha1_file_with_flags

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>
builtin/fetch.c
builtin/index-pack.c
cache.h
sha1_file.c