bisect: don't mix option parsing and non-trivial code
commit4a6ada32cb64b0eba8b6f995e4230f0c722fd580
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 29 Jun 2015 15:40:31 +0000 (29 17:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:42:42 +0000 (3 11:42 -0700)
tree3a6644345afa001baec4e9f5c7c0efd0dedba938
parentcb46d630baf780412f8ca0592531880b592f0922
bisect: don't mix option parsing and non-trivial code

As-is, the revisions that appear on the command-line are processed in
order. This would mix badly with code that changes the configuration
(e.g. change $TERM_GOOD and $TERM_BAD) while processing the options.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh