summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2015-05-08 10:02:00 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-08 10:52:11 -0700
commit7886cfa08054046a7a82726be4b8c109b2ba1344 (patch)
tree4a85ac80e921487773c25cf90a89750bce5100e4 /git-am.sh
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadtgif-7886cfa08054046a7a82726be4b8c109b2ba1344.tar.xz
bundle: verify arguments more strictly
The `verify` and `create` subcommands of the bundle builtin do not properly verify the command line arguments that have been passed in. While the `verify` subcommand accepts an arbitrary amount of ignored arguments the `create` subcommand does not complain about being passed too few arguments, resulting in a bogus call to `git rev-list`. Fix these errors by verifying that the correct amount of arguments has been passed in. Signed-off-by: Patrick Steinhardt <ps@pks.im> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
0 files changed, 0 insertions, 0 deletions