aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
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 /builtin.h
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 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 721b8d803..db9b369e2 100644
--- a/builtin.h
+++ b/builtin.h
@@ -15,6 +15,7 @@ extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix);
extern int cmd_add(int argc, const char **argv, const char *prefix);
extern int cmd_apply(int argc, const char **argv, const char *prefix);
extern int cmd_archive(int argc, const char **argv, const char *prefix);
+extern int cmd_branch(int argc, const char **argv, const char *prefix);
extern int cmd_cat_file(int argc, const char **argv, const char *prefix);
extern int cmd_checkout_index(int argc, const char **argv, const char *prefix);
extern int cmd_check_ref_format(int argc, const char **argv, const char *prefix);