libgit2

git_status_t

Version:

Status flags for a single file.

A combination of these values will be returned to indicate the status of a file. Status compares the working directory, the index, and the current HEAD of the repository. The GIT_STATUS_INDEX set of flags represents the status of file in the index relative to the HEAD, and the GIT_STATUS_WT set of flags represent the status of the file in the working directory relative to the index.

Values

GIT_STATUS_CURRENT
0
GIT_STATUS_INDEX_NEW
1
GIT_STATUS_INDEX_MODIFIED
2
GIT_STATUS_INDEX_DELETED
3
GIT_STATUS_INDEX_RENAMED
4
GIT_STATUS_INDEX_TYPECHANGE
5
GIT_STATUS_WT_NEW
6
GIT_STATUS_WT_MODIFIED
7
GIT_STATUS_WT_DELETED
8
GIT_STATUS_WT_TYPECHANGE
9
GIT_STATUS_IGNORED
10

Versions