X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=send-pack.c;h=34c77cbb1af91dd1a959f7e9f5b756dc40fd722d;hp=6dc16c3211631402432207dcf99b1ef4e87f012b;hb=2e215b7959a895d6aadbb828622bef966738ed6a;hpb=c5d81d7f5938909544e86d503d2c7cbc2f600e2f diff --git a/send-pack.c b/send-pack.c index 6dc16c3211..34c77cbb1a 100644 --- a/send-pack.c +++ b/send-pack.c @@ -40,7 +40,8 @@ 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(oid)) + if (negative && + !has_object_file_with_flags(oid, OBJECT_INFO_SKIP_FETCH_OBJECT)) return; if (negative)