libgit2

git_describe_format_options

Version:

Options for formatting the describe string

Signature

typedef struct git_describe_format_options { unsigned int version unsigned int abbreviated_size int always_use_long_format const char *dirty_suffix };

Members

unsigned int
version
unsigned int
abbreviated_size

Size of the abbreviated commit id to use. This value is the lower bound for the length of the abbreviated string. The default is 7.

int
always_use_long_format

Set to use the long format even when a shorter name could be used.

const char *
dirty_suffix

If the workdir is dirty and this is set, this string will be appended to the description string.

Parameter To

Versions