Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-01 23:53:13 +0300
committerJunio C Hamano <junkio@cox.net>2006-11-01 23:53:13 +0300
commit1da1b3a3e06fdcbbd0b154a6930fc0261a5ee866 (patch)
treea2d6b624283cc68bf03964613318d2068c64fa11 /git.c
parent8b4b94cc7998d6312025fe3350be57c89b803f9c (diff)
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 d6c2d2db60..d2460c8618 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 },