summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
committerVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
commitc0e529f379ded1311c7d8caba4af7c20c540c987 (patch)
tree2c2594c00603a6032d8bbdecec458387475d8ea5 /include/git2/commit.h
parentbf3ee3cf3130d50cb1813c3ec31993a96dae0607 (diff)
parent406dd556e20117b3cc2e5c53410d65314fd14056 (diff)
downloadlibgit2-c0e529f379ded1311c7d8caba4af7c20c540c987.tar.gz
Merge branch 'arrbee/examples-log' into development
Diffstat (limited to 'include/git2/commit.h')
-rw-r--r--include/git2/commit.h8
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