diff options
author | René Scharfe <l.s.r@web.de> | 2017-12-25 18:45:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-28 13:50:05 -0800 |
commit | 148f14ab5e066bb95a9f0bc00380ca98369555dd (patch) | |
tree | b0a33d353055f7ebdcdc145af53be88a0a1624b1 /t/t3906-stash-submodule.sh | |
parent | object: add clear_commit_marks_all() (diff) | |
download | tgif-148f14ab5e066bb95a9f0bc00380ca98369555dd.tar.xz |
bisect: avoid using the rev_info flag leak_pending
The leak_pending flag is so awkward to use that multiple comments had to
be added around each occurrence. We only use it for remembering the
commits whose marks we have to clear after checking if all of the good
ones are ancestors of the bad one. This is easy, though: We need to do
that for the bad and good commits, of course.
Let check_good_are_ancestors_of_bad() create and own the array of bad
and good commits, and use it to clear the commit marks as well.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3906-stash-submodule.sh')
0 files changed, 0 insertions, 0 deletions