revision: mark non-user-given objects instead
[gitweb.git] / revision.c
index 0627494378dcf6d921af59cc83d02e6a6feb0030..6d355b43c37ac15ca113c513750fcb2d435a2bef 100644 (file)
@@ -175,7 +175,6 @@ 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);
 }