summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-07 06:58:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-07 08:59:51 (GMT)
commit5040f17eba15504bad66b14a645bddd9b015ebb7 (patch)
tree3c83b41a4d886cdd758578d57551b9b3cf4a75b1 /commit.h
parenta0fd31463b8b391ff940e97706ba064608feb1e1 (diff)
downloadgit-5040f17eba15504bad66b14a645bddd9b015ebb7.zip
git-5040f17eba15504bad66b14a645bddd9b015ebb7.tar.gz
git-5040f17eba15504bad66b14a645bddd9b015ebb7.tar.bz2
blame -S <ancestry-file>
This adds the -S <ancestry-file> option to blame, which is needed by the CVS server emulation. Signed-off-by: Junio C Hamano <junkio@cox.net>
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 98682b2..918c9ab 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 */