GitType

Basic type (loose or packed) of any Git object.

Values

ValueMeaning
anyGIT_OBJ_ANY

Object can be any of the following types.

badGIT_OBJ_BAD

Object is invalid.

ext1GIT_OBJ__EXT1

Reserved for future use.

commitGIT_OBJ_COMMIT

A commit object.

treeGIT_OBJ_TREE

A tree (directory listing) object.

blobGIT_OBJ_BLOB

A file revision object.

tagGIT_OBJ_TAG

An annotated tag object.

ext2GIT_OBJ__EXT2

Reserved for future use.

ofs_deltaGIT_OBJ_OFS_DELTA

A delta, base is given by an offset.

ref_deltaGIT_OBJ_REF_DELTA

A delta, base is given by object id.

Meta