diff options
author | Lars Hjemli <hjemli@gmail.com> | 2006-10-23 23:27:45 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-23 20:43:49 -0700 |
commit | c31820c26b8f164433e67d28c403ca0df0316055 (patch) | |
tree | f0aa310fedf7e70c2cc8431cbdc7462771a8611d /builtin.h | |
parent | 3b463c3f02f83ef0bce2d5daa193459418e5258f (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |