Code

branch: work in subdirectories.
authorJunio C Hamano <junkio@cox.net>
Wed, 1 Nov 2006 20:53:13 +0000 (12:53 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 1 Nov 2006 20:53:13 +0000 (12:53 -0800)
Noticed by Andy Whitcroft

Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c

diff --git a/git.c b/git.c
index d6c2d2db6051b664ccf4b215b63b48e27df71dc6..d2460c861885a50df9ff8b3acb11c1b45bcc366e 100644 (file)
--- 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 },