summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-22 14:32:59 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:06 +0200
commit1a895dd787a5699c21d7925e9cdffa66f23605c4 (patch)
tree57b5df4e635d8324ca75b0dd33cb96271b426e23 /src/commit.h
parent8add01539268300564482f854412cfe9839e980c (diff)
downloadlibgit2-1a895dd787a5699c21d7925e9cdffa66f23605c4.tar.gz
Add arbritrary ordering revision walking.
The 'gitrp_next()' method now correctly does a revision walking of all the pushed revisions in arbritary ordering. Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.h b/src/commit.h
index 3a6b70664..a0c0512a8 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -29,6 +29,7 @@ struct git_commit {
int git_commit__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header);
int git_commit__parse_buffer(git_commit *commit, void *data, size_t len);
int git_commit__parse_time(time_t *commit_time, char *buffer, const char *buffer_end);
+void git_commit__mark_uninteresting(git_commit *commit);
int git_commit_parse_existing(git_commit *commit);