diff options
author | René Scharfe <l.s.r@web.de> | 2017-12-25 18:46:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-28 13:50:05 -0800 |
commit | 63647391e6c306363dcb61d160c84cc601912efb (patch) | |
tree | fa1fec16eabad8fb9d8efd368c96b205cee24b3d /Documentation/git-for-each-ref.txt | |
parent | bisect: avoid using the rev_info flag leak_pending (diff) | |
download | tgif-63647391e6c306363dcb61d160c84cc601912efb.tar.xz |
bundle: 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 use it for remembering the
prerequisites for the bundle. That is easy, though: We have the
ref_list named "prerequisites" in the header for just that purpose.
Use this original list of prerequisites to check if all of them are
present and to clear their commit marks afterward. The two new loops
are intentionally kept similar to the first one in the function.
Calling parse_object() a second time is expected be quick and successful
in each case -- any errors should have been handled in the first round.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-for-each-ref.txt')
0 files changed, 0 insertions, 0 deletions