mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-19 22:44:42 +00:00
Add git_commit_owner to the public interface
Just like git_tree_owner, etc.
This commit is contained in:
parent
3405f78754
commit
6e8659969a
@ -69,6 +69,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.
|
||||
|
Loading…
Reference in New Issue
Block a user