Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/lose-leak-pending' into maint
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 72f2b4572ee798f9e17d6f4fbc0d12cfcd2fe221..1f7454c947a683eb2df28e51504bf67ebe8379cd 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-2862,8
+2862,7
@@
int prepare_revision_walk(struct rev_info *revs)
}
}
}
- if (!revs->leak_pending)
- object_array_clear(&old_pending);
+ object_array_clear(&old_pending);
/* Signal whether we need per-parent treesame decoration */
if (revs->simplify_merges ||