]> git.ipfire.org Git - thirdparty/git.git/blobdiff - send-pack.c
Merge branch 'sb/userdiff-dts'
[thirdparty/git.git] / send-pack.c
index 6dc16c3211631402432207dcf99b1ef4e87f012b..34c77cbb1af91dd1a959f7e9f5b756dc40fd722d 100644 (file)
@@ -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)