Merge branch 'jt/partial-clone-fsck-connectivity'
[gitweb.git] / revision.c
index 72abe235e4a8045b92d40b18c7d1fb574456e38c..a2570397b6685fbd6e3a7d77ad7e2c554cc03772 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);
 }