Skip to content

Commit ccbe471

Browse files
Add GIT_BLAME_IGNORE_WHITESPACE flag (#677)
The `GIT_BLAME_IGNORE_WHITESPACE` blame option flag was introduced in libgit2 v1.1.0 Change type: #minor
1 parent b46ebfa commit ccbe471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blame.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const (
4848
BlameTrackCopiesAnyCommitCopies BlameOptionsFlag = C.GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES
4949
BlameFirstParent BlameOptionsFlag = C.GIT_BLAME_FIRST_PARENT
5050
BlameUseMailmap BlameOptionsFlag = C.GIT_BLAME_USE_MAILMAP
51+
BlameIgnoreWhitespace BlameOptionsFlag = C.GIT_BLAME_IGNORE_WHITESPACE
5152
)
5253

5354
func (v *Repository) BlameFile(path string, opts *BlameOptions) (*Blame, error) {

0 commit comments

Comments
 (0)