Function
GgitAnnotatedCommitnew_from_ref
Declaration [src]
GgitAnnotatedCommit*
ggit_annotated_commit_new_from_ref (
GgitRepository* repository,
GgitRef* ref,
GError** error
)
Parameters
repository |
GgitRepository |
The repository. |
|
The data is owned by the caller of the function. | |
ref |
GgitRef |
The reference to use to lookup the git_annotated_commit. |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GgitAnnotatedCommit |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |