summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLukas Sandström <lukass@etek.chalmers.se>2006-06-13 20:21:42 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-19 04:58:19 (GMT)
commit8ed05fb5e90f8ad2051ff7071b7425a53c594892 (patch)
tree9bb4dc703c2405344165d6d2da56d84e877fa12c /builtin.h
parent64e86c57867593ba0ee77a7b0ff0eb8e9d4d8ed5 (diff)
downloadgit-8ed05fb5e90f8ad2051ff7071b7425a53c594892.zip
git-8ed05fb5e90f8ad2051ff7071b7425a53c594892.tar.gz
git-8ed05fb5e90f8ad2051ff7071b7425a53c594892.tar.bz2
Make git-write-tree a builtin
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index b9f36be..885422e 100644
--- a/builtin.h
+++ b/builtin.h
@@ -46,4 +46,7 @@ extern int cmd_diff_tree(int argc, const char **argv, char **envp);
extern int cmd_cat_file(int argc, const char **argv, char **envp);
extern int cmd_rev_parse(int argc, const char **argv, char **envp);
+extern int cmd_write_tree(int argc, const char **argv, char **envp);
+extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix);
+
#endif