cocci: apply the "object-store.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "object-store.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
085390328f
commit
bc726bd075
@ -42,9 +42,9 @@ int option_parse_push_signed(const struct option *opt,
|
||||
static void feed_object(const struct object_id *oid, FILE *fh, int negative)
|
||||
{
|
||||
if (negative &&
|
||||
!has_object_file_with_flags(oid,
|
||||
OBJECT_INFO_SKIP_FETCH_OBJECT |
|
||||
OBJECT_INFO_QUICK))
|
||||
!repo_has_object_file_with_flags(the_repository, oid,
|
||||
OBJECT_INFO_SKIP_FETCH_OBJECT |
|
||||
OBJECT_INFO_QUICK))
|
||||
return;
|
||||
|
||||
if (negative)
|
||||
|
||||
Reference in New Issue
Block a user