Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
6e865996
Commit
6e865996
authored
May 07, 2013
by
J. David Ibáñez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add git_commit_owner to the public interface
Just like git_tree_owner, etc.
parent
3405f787
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
include/git2/commit.h
+8
-0
No files found.
include/git2/commit.h
View file @
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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment