diff options
author | Stephan Beyer <s-beyer@gmx.net> | 2017-11-12 21:55:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-13 04:59:17 +0100 |
commit | fecd2dd36e6210c0211c812f1be2a07c71c6dcdc (patch) | |
tree | 510d8c42e4fe23d5888800b5f4e5bc54c7212ec6 /alias.c | |
parent | RelNotes: the third batch for 2.16 (diff) | |
download | git-fecd2dd36e6210c0211c812f1be2a07c71c6dcdc.tar.xz git-fecd2dd36e6210c0211c812f1be2a07c71c6dcdc.zip |
bisect run: die if no command is given
It was possible to invoke "git bisect run" without any command.
This considers all commits as good commits since "$@"'s return
value for empty $@ is 0.
This is most probably not what a user wants (otherwise she would
invoke "git bisect run true"), so not providing a command now
results in an error.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions