summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-07 02:12:48 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-07 02:12:48 -0700
commitdd4bca39eccd01d93fe7916df3b8cb6f68629211 (patch)
treeef13090eccd568874f4ee5c67ae3e0390766bb8a /commit.h
parent38b525e09f9088338e03ad0169e3cc7b5ab2e7af (diff)
parent5040f17eba15504bad66b14a645bddd9b015ebb7 (diff)
downloadgit-dd4bca39eccd01d93fe7916df3b8cb6f68629211.tar.gz
Merge branch 'jc/blame' into next
* jc/blame: blame -S <ancestry-file> Match ofs/cnt types in diff interface.
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 98682b232a..918c9ab5e4 100644
--- a/commit.h
+++ b/commit.h
@@ -90,4 +90,15 @@ void sort_in_topological_order(struct commit_list ** list, int lifo);
void sort_in_topological_order_fn(struct commit_list ** list, int lifo,
topo_sort_set_fn_t setter,
topo_sort_get_fn_t getter);
+
+struct commit_graft {
+ unsigned char sha1[20];
+ int nr_parent;
+ unsigned char parent[FLEX_ARRAY][20]; /* more */
+};
+
+struct commit_graft *read_graft_line(char *buf, int len);
+int register_commit_graft(struct commit_graft *, int);
+int read_graft_file(const char *graft_file);
+
#endif /* COMMIT_H */