libgit2

git_rtype

Version:

Basic type of any Git reference.

Values

GIT_REF_INVALID
0
GIT_REF_OID
(1 << 0)

Invalid reference

GIT_REF_SYMBOLIC
(1 << 1)

A reference which points at an object id

GIT_REF_PACKED
(1 << 2)

A reference which points at another reference

GIT_REF_HAS_PEEL
(1 << 3)

A reference which points at another reference

Returned By

Versions