diff options
Diffstat (limited to 'src/git/commit.h')
-rw-r--r-- | src/git/commit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git/commit.h b/src/git/commit.h index 010f258a..ea59a210 100644 --- a/src/git/commit.h +++ b/src/git/commit.h @@ -17,7 +17,7 @@ GIT_BEGIN_DECL typedef struct git_commit git_commit; /** - * Parse (or lookup) a commit from a revision pool. + * Lookup a commit from a revision pool, and parse it if needed. * @param pool the pool to use when parsing/caching the commit. * @param id identity of the commit to locate. If the object is * an annotated tag it will be peeled back to the commit. @@ -25,7 +25,7 @@ typedef struct git_commit git_commit; * pool's git_odb, or if the commit is present but is * too malformed to be parsed successfully. */ -GIT_EXTERN(git_commit *) git_commit_parse(git_revpool *pool, const git_oid *id); +GIT_EXTERN(git_commit *) git_commit_lookup(git_revpool *pool, const git_oid *id); /** * Get the id of a commit. |