libgit2

git_index_stage_t

Version:

Values

GIT_INDEX_STAGE_ANY
-1

Match any index stage.

Some index APIs take a stage to match; pass this value to match any entry matching the path regardless of stage.

GIT_INDEX_STAGE_NORMAL
0

A normal staged file in the index.

GIT_INDEX_STAGE_ANCESTOR
1

The ancestor side of a conflict.

GIT_INDEX_STAGE_OURS
2

The "ours" side of a conflict.

GIT_INDEX_STAGE_THEIRS
3

The "theirs" side of a conflict.

Versions