From: Junio C Hamano Date: Wed, 1 Nov 2006 20:53:13 +0000 (-0800) Subject: branch: work in subdirectories. X-Git-Tag: v1.4.4-rc1~38 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1da1b3a3e06fdcbbd0b154a6930fc0261a5ee866;p=git.git branch: work in subdirectories. Noticed by Andy Whitcroft Signed-off-by: Junio C Hamano --- 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 },