diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-07-10 21:06:53 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-07-10 21:06:53 +0200 |
commit | c0e529f379ded1311c7d8caba4af7c20c540c987 (patch) | |
tree | 2c2594c00603a6032d8bbdecec458387475d8ea5 /include/git2/commit.h | |
parent | bf3ee3cf3130d50cb1813c3ec31993a96dae0607 (diff) | |
parent | 406dd556e20117b3cc2e5c53410d65314fd14056 (diff) | |
download | libgit2-c0e529f379ded1311c7d8caba4af7c20c540c987.tar.gz |
Merge branch 'arrbee/examples-log' into development
Diffstat (limited to 'include/git2/commit.h')
-rw-r--r-- | include/git2/commit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/commit.h b/include/git2/commit.h index 544d21d87..fc0551be1 100644 --- a/include/git2/commit.h +++ b/include/git2/commit.h @@ -130,6 +130,14 @@ GIT_EXTERN(const git_signature *) git_commit_committer(const git_commit *commit) GIT_EXTERN(const git_signature *) git_commit_author(const git_commit *commit); /** + * Get the full raw text of the commit header. + * + * @param commit a previously loaded commit + * @return the header text of the commit + */ +GIT_EXTERN(const char *) git_commit_raw_header(const git_commit *commit); + +/** * Get the tree pointed to by a commit. * * @param tree_out pointer where to store the tree object |