diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2022-12-14 22:17:40 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-15 03:05:55 +0300 |
commit | acd6f0d973e6cf27188d80ad3e8e6876bf0e3da9 (patch) | |
tree | b80f82b6360270094e6a033914a2c7e8e867614d /object-file.c | |
parent | 7452749a781d84244ecd08c6f6ca7e5df67dfce8 (diff) |
object-file: remove OBJECT_INFO_IGNORE_LOOSE
Its last user was removed in 97b2fa08b6 (fetch-pack: drop
custom loose object cache, 2018-11-12), so we can remove it.
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
-rw-r--r-- | object-file.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/object-file.c b/object-file.c index 26290554bb..cf724bc19b 100644 --- a/object-file.c +++ b/object-file.c @@ -1575,9 +1575,6 @@ static int do_oid_object_info_extended(struct repository *r, if (find_pack_entry(r, real, &e)) break; - if (flags & OBJECT_INFO_IGNORE_LOOSE) - return -1; - /* Most likely it's a loose object. */ if (!loose_object_info(r, real, oi, flags)) return 0; |