summaryrefslogtreecommitdiff
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-01-26 19:27:11 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-01-26 17:27:02 -0800
commit4ac5356c62d02b118c49cd85f88c7e6f65590400 (patch)
tree6ed2a40995334d73d39f0a23fed0efc8c3b6a701 /diff-no-index.c
parentrebase: use explicit "--" with checkout (diff)
downloadtgif-4ac5356c62d02b118c49cd85f88c7e6f65590400.tar.xz
rebase: give a better error message for bogus branch
When you give a non-existent branch to git-rebase, it spits out the usage. This can be confusing, since you may understand the usage just fine, but simply have made a mistake in the branch name. Before: $ git rebase origin bogus Usage: git rebase ... After: $ git rebase origin bogus fatal: no such branch: bogus Usage: git rebase ... Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions