git_blame_flag_t

Flags for indicating option behavior for git_blame APIs.

Values

ValueMeaning
GIT_BLAME_NORMAL0

Normal blame, the default

GIT_BLAME_TRACK_COPIES_SAME_FILE1 << 0

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

GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES1 << 1

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

GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES1 << 2

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

GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES1 << 3

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

GIT_BLAME_FIRST_PARENT1 << 4

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

GIT_BLAME_USE_MAILMAP1 << 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.

Meta