Add GIT_BLAME_USE_MAILMAP flag (#676) #680

Merged
github-actions[bot] merged 1 commits from cherry-pick-351593066-release-0.28 into release-0.28 2020-11-07 17:05:42 -06:00
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ const (
BlameTrackCopiesSameCommitCopies BlameOptionsFlag = C.GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES
BlameTrackCopiesAnyCommitCopies BlameOptionsFlag = C.GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES
BlameFirstParent BlameOptionsFlag = C.GIT_BLAME_FIRST_PARENT
BlameUseMailmap BlameOptionsFlag = C.GIT_BLAME_USE_MAILMAP
)
func (v *Repository) BlameFile(path string, opts *BlameOptions) (*Blame, error) {