diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-05-31 17:51:32 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-31 17:53:23 -0700 |
commit | bffd750adf98c4a377571af73cf9a589f86495fb (patch) | |
tree | a8e22d08bfebb382b058b037f47699f1a7c57997 /compat/fnmatch | |
parent | Merge branch 'maint' (diff) | |
download | tgif-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 'compat/fnmatch')
0 files changed, 0 insertions, 0 deletions