Struct git2::DescribeOptions [−][src]
pub struct DescribeOptions { /* fields omitted */ }
Expand description
Options which indicate how a Describe
is created.
Implementations
Creates a new blank set of formatting options for a description.
Sets the reference lookup strategy
This behaves like the --tags
option to git-describe.
Sets the reference lookup strategy
This behaves like the --all
option to git-describe.
Indicates when calculating the distance from the matching tag or reference whether to only walk down the first-parent ancestry.
If no matching tag or reference is found whether a describe option would normally fail. This option indicates, however, that it will instead fall back to showing the full id of the commit.