Commit 590991a7 by Russell Belfer

Merge pull request #1553 from jdavid/git_commit_owner

Add git_commit_owner to the public interface
parents 3405f787 6e865996
......@@ -70,6 +70,14 @@ GIT_EXTERN(void) git_commit_free(git_commit *commit);
GIT_EXTERN(const git_oid *) git_commit_id(const git_commit *commit);
/**
* Get the repository that contains the commit.
*
* @param commit A previously loaded commit.
* @return Repository that contains this commit.
*/
GIT_EXTERN(git_repository *) git_commit_owner(const git_commit *commit);
/**
* Get the encoding for the message of a commit,
* as a string representing a standard encoding name.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment