summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-04-02 20:34:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-02 21:27:38 (GMT)
commit4ce58ee38de3ab0955b94946bfc339f387227223 (patch)
tree85f5ad519188e8bfbd9fb383a6b980fbb0349c69 /builtin.h
parentae30d7b1151348068a24ac241cb4f6ad7f5e661b (diff)
downloadgit-4ce58ee38de3ab0955b94946bfc339f387227223.zip
git-4ce58ee38de3ab0955b94946bfc339f387227223.tar.gz
git-4ce58ee38de3ab0955b94946bfc339f387227223.tar.bz2
commit-graph: create git-commit-graph builtin
Teach git the 'commit-graph' builtin that will be used for writing and reading packed graph files. The current implementation is mostly empty, except for an '--object-dir' option. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 42378f3..079855b 100644
--- a/builtin.h
+++ b/builtin.h
@@ -149,6 +149,7 @@ extern int cmd_clone(int argc, const char **argv, const char *prefix);
extern int cmd_clean(int argc, const char **argv, const char *prefix);
extern int cmd_column(int argc, const char **argv, const char *prefix);
extern int cmd_commit(int argc, const char **argv, const char *prefix);
+extern int cmd_commit_graph(int argc, const char **argv, const char *prefix);
extern int cmd_commit_tree(int argc, const char **argv, const char *prefix);
extern int cmd_config(int argc, const char **argv, const char *prefix);
extern int cmd_count_objects(int argc, const char **argv, const char *prefix);