libgit2

annotated_commit

Version:
Git annotated commit routines

Objects

Annotated commits, the input to merge and rebase

Functions

Creates a git_annotated_commit from the given reference The resulting git_annotated_commit must be freed with git_annotated_commit_free.

Creates a git_annotated_commit from the given fetch head data The resulting git_annotated_commit must be freed with git_annotated_commit_free.

Creates a git_annotated_commit from the given commit id The resulting git_annotated_commit must be freed with git_annotated_commit_free.

Gets the commit ID that the given git_annotated_commit refers to