From 1a895dd787a5699c21d7925e9cdffa66f23605c4 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 22 May 2010 14:32:59 +0200 Subject: 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 Signed-off-by: Andreas Ericsson --- src/git/commit.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/git/commit.h') 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 -- cgit v1.2.1