Value | Meaning |
---|---|
GIT_STATUS_SHOW_INDEX_AND_WORKDIR0 | The default. This roughly matches git status --porcelain regarding which files are included and in what order. |
GIT_STATUS_SHOW_INDEX_ONLY1 | Only gives status based on HEAD to index comparison, not looking at working directory changes. |
GIT_STATUS_SHOW_WORKDIR_ONLY2 | Only gives status based on index to working directory comparison, not comparing the index to the HEAD. |
Select the files on which to report status.
With git_status_foreach_ext, this will control which changes get callbacks. With git_status_list_new, these will control which changes are included in the list.