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:
authorLars Hjemli <hjemli@gmail.com>2006-10-24 01:27:45 +0400
committerJunio C Hamano <junkio@cox.net>2006-10-24 07:43:49 +0400
commitc31820c26b8f164433e67d28c403ca0df0316055 (patch)
treef0aa310fedf7e70c2cc8431cbdc7462771a8611d /git.c
parent3b463c3f02f83ef0bce2d5daa193459418e5258f (diff)
Make git-branch a builtin
This replaces git-branch.sh with builtin-branch.c The changes is basically a patch from Kristian Høgsberg, updated to apply onto current 'next' Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 9108fec808..f197169df2 100644
--- a/git.c
+++ b/git.c
@@ -221,6 +221,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "add", cmd_add, RUN_SETUP },
{ "apply", cmd_apply },
{ "archive", cmd_archive },
+ { "branch", cmd_branch },
{ "cat-file", cmd_cat_file, RUN_SETUP },
{ "checkout-index", cmd_checkout_index, RUN_SETUP },
{ "check-ref-format", cmd_check_ref_format },