]> git.ipfire.org Git - thirdparty/git.git/commit
bisect: check for mandatory argument of 'bisect replay'
authorSZEDER Gábor <szeder@ira.uka.de>
Sun, 10 Oct 2010 21:48:58 +0000 (23:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2010 22:07:50 +0000 (15:07 -0700)
commit2c7c3877def8629278f5367a461ef269b0cfaa99
tree847ce00156ec8ad098a96fc3cddbb3dcf2b084b1
parent3bb8cf88247db589b60e79c0520b081793cfd68e
bisect: check for mandatory argument of 'bisect replay'

'git bisect replay' has a mandatory logfile argument, but the current
implementation doesn't check whether the user has specified one.  When
the user omits the logfile argument, this leads to the following
unhelpful error message:

  cannot read  for replaying

So, check for the mandatory argument first, and provide a more
meaningful error message when it is omitted.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh