libgit2

commit

Version:
Git commit parsing, formatting routines

Objects

Parsed representation of a commit object

Functions

Lookup a commit object from a repository

Lookup a commit object from a repository, given a prefix of its identifier (short id)

Close an open commit

Get the id of a commit

Get the repository that contains the commit

Get the encoding for the message of a commit, as a string representing a standard encoding name

Get the full message of a commit

Get the full raw message of a commit

Get the commit time (i

Get the commit timezone offset (i

Get the committer of a commit

Get the author of a commit

Get the full raw text of the commit header

Get the tree pointed to by a commit

Get the id of the tree pointed to by a commit git_commit_tree in that no attempts are made to fetch an object from the ODB.

Get the number of parents of this commit

Get the specified parent of the commit

Get the oid of a specified parent for a commit git_commit_parent, which will attempt to load the parent commit from the ODB.

Get the commit object that is the <n>th generation ancestor of the named commit object, following only the first parents The returned commit has to be freed by the caller.

Create new commit in the repository from a list of git_object pointers

Create new commit in the repository using a variable argument list