diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-06 23:58:51 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-07 01:59:51 -0700 |
commit | 5040f17eba15504bad66b14a645bddd9b015ebb7 (patch) | |
tree | 3c83b41a4d886cdd758578d57551b9b3cf4a75b1 /commit.h | |
parent | a0fd31463b8b391ff940e97706ba064608feb1e1 (diff) | |
download | git-5040f17eba15504bad66b14a645bddd9b015ebb7.tar.gz |
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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 */ |