summaryrefslogtreecommitdiff
path: root/preload-index.c
diff options
context:
space:
mode:
authorLibravatar Vincent van Ravesteijn <vfr@lyx.org>2011-11-23 07:31:55 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-11-23 13:23:33 -0800
commit5cd75c7d8da8971d0d78f82d78c017e686fb5bb0 (patch)
treebf3335e4fa4b6949ee87754d9b9f2debd1a94a9d /preload-index.c
parentrevert --abort: do not leave behind useless sequencer-old directory (diff)
downloadtgif-5cd75c7d8da8971d0d78f82d78c017e686fb5bb0.tar.xz
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 'preload-index.c')
0 files changed, 0 insertions, 0 deletions