libgit2

GIT_INDEX_ENTRY_STAGE(E)

Version:

Macro to get the stage value (0 for the "main index", or a conflict value) from an index entry.

Signature

#define GIT_INDEX_ENTRY_STAGE(E) (((E)->flags & GIT_INDEX_ENTRY_STAGEMASK) >> GIT_INDEX_ENTRY_STAGESHIFT)

Versions