Struct

GgitBlameOptions

Description [src]

struct GgitBlameOptions {
  /* No available fields */
}

Represents blame options.

Constructors

ggit_blame_options_new

Create a new, empty GgitBlameOptions.

Instance methods

ggit_blame_options_copy

Copies blame_options into a newly allocated GgitBlameOptions.

ggit_blame_options_free

Frees blame_options.

ggit_blame_options_get_maximum_line

Get the last line in the file to consider. The default is 1.

ggit_blame_options_get_minimum_line

Get the first line in the file to consider. The default is 1.

ggit_blame_options_get_minimum_match_characters

Get the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit. This is only used when any of the #GGIT_BLAME_TRACK_COPIES_SAME_FILE flag is specified. The default value is 20.

ggit_blame_options_get_newest_commit

Get the id of the newest commit to consider in the blame. The default value of NULL indicates to use HEAD.

ggit_blame_options_get_oldest_commit

Get the id of the oldest commit to consider in the blame. Teh default value of NULL indicates to used HEAD.

ggit_blame_options_set_maximum_line

Set the last line in the file to consider. Lines start at 1.

ggit_blame_options_set_minimum_line

Set the first line in the file to consider. Lines start at 1.

ggit_blame_options_set_minimum_match_characters

Set the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit. This is only used when any of the #GGIT_BLAME_TRACK_COPIES_ flags are specified. The default value is 20.

ggit_blame_options_set_newest_commit

Set the id of the newest commit to consider in the blame. Specify NULL to set the default value which indicates to use HEAD.

ggit_blame_options_set_oldest_commit

Set the id of the oldest commit to consider in the blame. Specify NULL to set the default value which indicates to consider the first commit without a parent.