]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.c
Merge branch 'sb/object-store-lookup'
[thirdparty/git.git] / revision.c
index 4dbe406bed2aa13f0685d98f0932f997e88b4972..8bd2e27037d8136ec96d31ed1a41eb45a040e475 100644 (file)
@@ -175,6 +175,7 @@ static void add_pending_object_with_path(struct rev_info *revs,
                strbuf_release(&buf);
                return; /* do not add the commit itself */
        }
+       obj->flags |= USER_GIVEN;
        add_object_array_with_path(obj, name, &revs->pending, mode, path);
 }