]> git.ipfire.org Git - thirdparty/git.git/commit - git-legacy-rebase.sh
git-rebase: don't ignore unexpected command line arguments
authorBrandon Casey <drafnel@gmail.com>
Sun, 17 Sep 2017 22:28:17 +0000 (15:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Sep 2017 03:13:09 +0000 (12:13 +0900)
commit697bc8858114ddda705be6f6eb3f997b64efa659
tree3eb46eb2055ea4a552aebb2d651389ab9661d49e
parent33e75122f483f887d4db7ccec01f42dea7ee79fb
git-rebase: don't ignore unexpected command line arguments

Currently, git-rebase will silently ignore any unexpected command-line
switches and arguments (the command-line produced by git rev-parse).
This allowed the rev-parse bug, fixed in the preceding commits, to go
unnoticed.  Let's make sure that doesn't happen again.  We shouldn't be
ignoring unexpected arguments.  Let's not.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh