git_describe_options

Describe options structure

Initialize with GIT_DESCRIBE_OPTIONS_INIT. Alternatively, you can use git_describe_options_init.

Members

Variables

describe_strategy
uint describe_strategy;

default: git_describe_strategy_t.GIT_DESCRIBE_DEFAULT

max_candidates_tags
uint max_candidates_tags;

default: 10

only_follow_first_parent
int only_follow_first_parent;

When calculating the distance from the matching tag or reference, only walk down the first-parent ancestry.

pattern
const(char)* pattern;
Undocumented in source.
show_commit_oid_as_fallback
int show_commit_oid_as_fallback;

If no matching tag or reference is found, the describe operation would normally fail. If this option is set, it will instead fall back to showing the full id of the commit.

version_
uint version_;
Undocumented in source.

Meta