Skip to content

Commit

Permalink
status: update documentation for default options
Browse files Browse the repository at this point in the history
  • Loading branch information
ethomson committed Jun 14, 2022
1 parent 70a182c commit fb68f18
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/git2/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fb68f18

Please sign in to comment.