summaryrefslogtreecommitdiffstats
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2017-11-12 21:55:33 +0100
committerJunio C Hamano <gitster@pobox.com>2017-11-13 04:59:17 +0100
commitfecd2dd36e6210c0211c812f1be2a07c71c6dcdc (patch)
tree510d8c42e4fe23d5888800b5f4e5bc54c7212ec6 /builtin/grep.c
parentRelNotes: the third batch for 2.16 (diff)
downloadgit-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 'builtin/grep.c')
0 files changed, 0 insertions, 0 deletions