From fb68f1807139fcfe4938fd020f4b1de68252335e Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 13 Jun 2022 21:44:05 -0400 Subject: status: update documentation for default options --- include/git2/status.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/git2/status.h b/include/git2/status.h index d8f9663b4..bb28e875b 100644 --- a/include/git2/status.h +++ b/include/git2/status.h @@ -227,13 +227,16 @@ typedef struct { /** * The `show` value is one of the `git_status_show_t` constants that - * control which files to scan and in what order. + * control which files to scan and in what order. The default is + * `GIT_STATUS_SHOW_INDEX_AND_WORKDIR`. */ git_status_show_t show; /** * The `flags` value is an OR'ed combination of the - * `git_status_opt_t` values above. + * `git_status_opt_t` values above. The default is + * `GIT_STATUS_OPT_DEFAULTS`, which matches git's default + * behavior. */ unsigned int flags; -- cgit v1.2.1