diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2018-04-20 21:07:17 +0000 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2018-05-07 21:50:38 +0200 |
| commit | 04c48afc3c2f3413883afee70ea748374e0a2293 (patch) | |
| tree | f01432c236fe1aa2217b01e841a1cc12211147a5 /include/git2/describe.h | |
| parent | c7b42f44a26ecbaf08aaa209df8a7d5941c01c0a (diff) | |
| download | libgit2-04c48afc3c2f3413883afee70ea748374e0a2293.tar.gz | |
docs: standardize struct git_*_options comments
Diffstat (limited to 'include/git2/describe.h')
| -rw-r--r-- | include/git2/describe.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/git2/describe.h b/include/git2/describe.h index 30a689ab8..56f119b2d 100644 --- a/include/git2/describe.h +++ b/include/git2/describe.h @@ -36,10 +36,9 @@ typedef enum { /** * Describe options structure * - * Initialize with `GIT_DESCRIBE_OPTIONS_INIT` macro to correctly set - * the `version` field. E.g. + * Initialize with `GIT_DESCRIBE_OPTIONS_INIT`. Alternatively, you can + * use `git_describe_init_options`. * - * git_describe_options opts = GIT_DESCRIBE_OPTIONS_INIT; */ typedef struct git_describe_options { unsigned int version; @@ -83,7 +82,11 @@ typedef struct git_describe_options { GIT_EXTERN(int) git_describe_init_options(git_describe_options *opts, unsigned int version); /** - * Options for formatting the describe string + * Describe format options structure + * + * Initialize with `GIT_DESCRIBE_FORMAT_OPTIONS_INIT`. Alternatively, you can + * use `git_describe_format_init_options`. + * */ typedef struct { unsigned int version; |
