Struct git2::AnnotatedCommit [−][src]
pub struct AnnotatedCommit<'repo> { /* fields omitted */ }
Expand description
A structure to represent an annotated commit, the input to merge and rebase.
An annotated commit contains information about how it was looked up, which may be useful for functions like merge or rebase to provide context to the operation.
Implementations
Get the refname that the given git_annotated_commit refers to
Returns None if it is not valid utf8