libgit2

git_blame_flag_t

Version:

Flags for indicating option behavior for git_blame APIs.

Values

GIT_BLAME_NORMAL
0

Normal blame, the default

GIT_BLAME_TRACK_COPIES_SAME_FILE
(1 << 0)

Track lines that have moved within a file (like git blame -M).

This is not yet implemented and reserved for future use.

GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES
(1 << 1)

Track lines that have moved across files in the same commit (like git blame -C).

This is not yet implemented and reserved for future use.

GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES
(1 << 2)

Track lines that have been copied from another file that exists in the same commit (like git blame -CC). Implies SAME_FILE.

This is not yet implemented and reserved for future use.

GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES
(1 << 3)

Track lines that have been copied from another file that exists in any commit (like git blame -CCC). Implies SAME_COMMIT_COPIES.

This is not yet implemented and reserved for future use.

GIT_BLAME_FIRST_PARENT
(1 << 4)

Restrict the search of commits to those reachable following only the first parents.

GIT_BLAME_USE_MAILMAP
(1 << 5)

Use mailmap file to map author and committer names and email addresses to canonical real names and email addresses. The mailmap will be read from the working directory, or HEAD in a bare repository.

GIT_BLAME_IGNORE_WHITESPACE
(1 << 6)

Ignore whitespace differences

Versions