aboutsummaryrefslogtreecommitdiffstats
path: root/git-svn.perl
diff options
context:
space:
mode:
authorVincent van Ravesteijn <vfr@lyx.org>2011-11-23 07:31:55 +0100
committerJunio C Hamano <gitster@pobox.com>2011-11-23 13:23:33 -0800
commit5cd75c7d8da8971d0d78f82d78c017e686fb5bb0 (patch)
treebf3335e4fa4b6949ee87754d9b9f2debd1a94a9d /git-svn.perl
parentrevert --abort: do not leave behind useless sequencer-old directory (diff)
downloadgit-5cd75c7d8da8971d0d78f82d78c017e686fb5bb0.tar.gz
git-5cd75c7d8da8971d0d78f82d78c017e686fb5bb0.zip
builtin-branch: Fix crash on invalid use of --force
The option --force should not put us in 'create branch' mode. The fact that this option is only valid in 'create branch' mode is already caught by the the next 'if' in which we assure that we are in the correct mode. Without this patch, "git branch -f" without any other argument ends up calling create_branch without any branch name. Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions