aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-01 12:53:13 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-01 12:53:13 -0800
commit1da1b3a3e06fdcbbd0b154a6930fc0261a5ee866 (patch)
treea2d6b624283cc68bf03964613318d2068c64fa11 /git.c
parent8b4b94cc7998d6312025fe3350be57c89b803f9c (diff)
downloadgit-1da1b3a3e06fdcbbd0b154a6930fc0261a5ee866.tar.gz
git-1da1b3a3e06fdcbbd0b154a6930fc0261a5ee866.tar.xz
branch: work in subdirectories.
Noticed by Andy Whitcroft Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index d6c2d2db6..d2460c861 100644
--- a/git.c
+++ b/git.c
@@ -222,7 +222,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "annotate", cmd_annotate, },
{ "apply", cmd_apply },
{ "archive", cmd_archive },
- { "branch", cmd_branch },
+ { "branch", cmd_branch, RUN_SETUP },
{ "cat-file", cmd_cat_file, RUN_SETUP },
{ "checkout-index", cmd_checkout_index, RUN_SETUP },
{ "check-ref-format", cmd_check_ref_format },