libgit2

git_describe_strategy_t

Version:

Reference lookup strategy

These behave like the --tags and --all options to git-describe, namely they say to look for any reference in either refs/tags/ or refs/ respectively.

Values

GIT_DESCRIBE_DEFAULT
0
GIT_DESCRIBE_TAGS
1
GIT_DESCRIBE_ALL
2

Versions