aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-10-23 23:27:45 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-23 20:43:49 -0700
commitc31820c26b8f164433e67d28c403ca0df0316055 (patch)
treef0aa310fedf7e70c2cc8431cbdc7462771a8611d /git.c
parent3b463c3f02f83ef0bce2d5daa193459418e5258f (diff)
downloadgit-c31820c26b8f164433e67d28c403ca0df0316055.tar.gz
git-c31820c26b8f164433e67d28c403ca0df0316055.tar.xz
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 9108fec80..f197169df 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 },