revision: remove the unused flag leak_pending

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
René Scharfe
2017-12-25 18:47:51 +01:00
committed by Junio C Hamano
parent a9a03fa0d7
commit f1230fb5fc
2 changed files with 1 additions and 14 deletions

View File

@ -2850,8 +2850,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 ||