summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-10-23 21:27:45 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-24 03:43:49 (GMT)
commitc31820c26b8f164433e67d28c403ca0df0316055 (patch)
treef0aa310fedf7e70c2cc8431cbdc7462771a8611d /builtin.h
parent3b463c3f02f83ef0bce2d5daa193459418e5258f (diff)
downloadgit-c31820c26b8f164433e67d28c403ca0df0316055.zip
git-c31820c26b8f164433e67d28c403ca0df0316055.tar.gz
git-c31820c26b8f164433e67d28c403ca0df0316055.tar.bz2
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 721b8d8..db9b369 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);