diff options
author | René Scharfe <l.s.r@web.de> | 2017-12-25 20:47:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-29 00:50:05 +0300 |
commit | f1230fb5fc77a47fd7964bb3724db352aea4a476 (patch) | |
tree | a3acbf739fb3eb931b2c43b86429d99caf296e6f /revision.c | |
parent | a9a03fa0d7292758b1c5038c0acb9466c9ac36da (diff) |
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>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.c b/revision.c index d167223e69..8b14142bb1 100644 --- a/revision.c +++ b/revision.c @@ -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 || |