Downloads
Reference
Learning
Security
Source
API Documentation
index
GIT_INDEX_ENTRY_STAGE(E)
Version:
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1
Macro to get the stage value (0 for the "main index", or a conflict value) from an index entry.
Signature
GitHub
#define GIT_INDEX_ENTRY_STAGE(E) (((E)->flags & GIT_INDEX_ENTRY_STAGEMASK) >> GIT_INDEX_ENTRY_STAGESHIFT)
Versions
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1