link_temp_to_file: don't leave the path truncated on adjust_shared_perm failure
[gitweb.git] / revision.c
index 89e6c6f93dddde24601cf21acc09df0301d0498b..36cdfcd1ad80caf8545cc02da7881fa92414d665 100644 (file)
@@ -1007,7 +1007,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
                add_pending_object(revs, object, def);
        }
 
-       if (revs->topo_order || revs->unpacked)
+       if (revs->topo_order)
                revs->limited = 1;
 
        if (revs->prune_data) {