AnnotatedCommit.from_ref


Description:

[ CCode ( has_construct_function = false ) ]
public AnnotatedCommit.from_ref (Repository repository, Ref @ref) throws Error

Create a GgitAnnotatedCommit from the given reference

Parameters:

repository

the repository

ref

the reference to use to lookup the git_annotated_commit

Returns:

a AnnotatedCommit.