diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2020-05-20 10:08:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-20 10:13:19 -0700 |
commit | 173cb08d5b38f423b3cae409daa6d414348c3459 (patch) | |
tree | ef67d272164d814f9caef9ea96ad4aeda36d3721 /t/t9807-git-p4-submit.sh | |
parent | bisect: allow CRLF line endings in "git bisect replay" input (diff) | |
download | tgif-173cb08d5b38f423b3cae409daa6d414348c3459.tar.xz |
bisect: avoid tailing CR characters from revision in replay
6c722cbe5a (bisect: allow CRLF line endings in "git bisect replay"
input, 2020-05-07) includes CR as a field separator, but relies on
it not being included in the last field, which breaks at least when
running under OpenBSD 6.7's sh.
Instead of just assume the CR will get swallowed, read the rest of
the line into an otherwise unused variable and ignore it everywhere
except on the call for git bisect start, where it matters.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9807-git-p4-submit.sh')
0 files changed, 0 insertions, 0 deletions