summaryrefslogtreecommitdiff
path: root/src/git/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/git/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/git/commit.h')
-rw-r--r--src/git/commit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/git/commit.h b/src/git/commit.h
index 1a57ba732..279d8e376 100644
--- a/src/git/commit.h
+++ b/src/git/commit.h
@@ -44,6 +44,14 @@ GIT_EXTERN(git_commit *) git_commit_parse(git_revpool *pool, const git_oid *id);
*/
GIT_EXTERN(const git_oid *) git_commit_id(git_commit *commit);
+
+/**
+ * Mark a commit and all its parents as uninteresting.
+ * @param commit The commit to mark
+ */
+GIT_EXTERN(void) git_commit_mark_uninteresting(git_commit *commit);
+
+
/** @} */
GIT_END_DECL
#endif