summaryrefslogtreecommitdiff
path: root/test-parse-options.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-05-31 17:51:32 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-31 17:53:23 -0700
commitbffd750adf98c4a377571af73cf9a589f86495fb (patch)
treea8e22d08bfebb382b058b037f47699f1a7c57997 /test-parse-options.c
parentMerge branch 'maint' (diff)
downloadtgif-bffd750adf98c4a377571af73cf9a589f86495fb.tar.xz
rebase: improve error message when upstream argument is missing
Strip out options before checking for a missing upstream argument. Before: $ git rebase -m shift: 426: can't shift that many After: $ git rebase -m Usage: git rebase ... While at it, fix the usage message to explain that the upstream argument is mandatory. Reported-by: Jon Dowland <jmtd@debian.org> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-parse-options.c')
0 files changed, 0 insertions, 0 deletions