git_blame_options

Blame options structure

Initialize with GIT_BLAME_OPTIONS_INIT. Alternatively, you can use git_blame_options_init.

Members

Variables

flags
uint flags;

A combination of git_blame_flag_t

max_line
size_t max_line;

The last line in the file to blame. The default is the last line of the file.

min_line
size_t min_line;

The first line in the file to blame. The default is 1 (line numbers start with 1).

min_match_characters
ushort min_match_characters;

The lower bound on the number of alphanumeric characters that must be detected as moving/copying within a file for it to associate those lines with the parent commit. The default value is 20. This value only takes effect if any of the GIT_BLAME_TRACK_COPIES_* flags are specified.

newest_commit
libgit2_d.oid.git_oid newest_commit;

The id of the newest commit to consider. The default is HEAD.

oldest_commit
libgit2_d.oid.git_oid oldest_commit;

The id of the oldest commit to consider. The default is the first commit encountered with a NULL parent.

version_
uint version_;
Undocumented in source.

Meta