diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2014-12-25 19:25:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-29 11:19:55 -0800 |
commit | 6bc02d5627358f6a264c5dbb159b5a9aeb44ebf4 (patch) | |
tree | 2c38713f1b7634d44a4335cbe1ac151a99187989 /t/t5524-pull-msg.sh | |
parent | Prepare for 2.2.2 (diff) | |
download | tgif-6bc02d5627358f6a264c5dbb159b5a9aeb44ebf4.tar.xz |
bisect: parse revs before passing them to check_expected_revs()
When running for example "git bisect bad HEAD" or
"git bisect good master", the parameter passed to
"git bisect (bad|good)" has to be parsed into a
commit hash before checking if it is the expected
commit or not.
We could do that in is_expected_rev() or in
check_expected_revs(), but it is already done in
bisect_state(). Let's just store the hash values
that result from this parsing, and then reuse
them after all the parsing is done.
This way we can also use a for loop over these
values to call bisect_write() on them, instead of
using eval.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5524-pull-msg.sh')
0 files changed, 0 insertions, 0 deletions