libgit2

git_error

Version:

Values

GIT_SUCCESS
0
GIT_ERROR
-1
GIT_ENOTOID
-2

Input was not a properly formatted Git object id.

GIT_ENOTFOUND
-3

Input does not exist in the scope searched.

GIT_ENOMEM
-4

Not enough space available.

GIT_EOSERR
-5

Consult the OS error information.

GIT_EOBJTYPE
-6

The specified object is of invalid type

GIT_ENOTAREPO
-7

The specified repository is invalid

GIT_EINVALIDTYPE
-8

The object type is invalid or doesn't match

GIT_EMISSINGOBJDATA
-9

The object cannot be written because it's missing internal data

GIT_EPACKCORRUPTED
-10

The packfile for the ODB is corrupted

GIT_EFLOCKFAIL
-11

Failed to acquire or release a file lock

GIT_EZLIB
-12

The Z library failed to inflate/deflate an object's data

GIT_EBUSY
-13

The queried object is currently busy

GIT_EBAREINDEX
-14

The index file is not backed up by an existing repository

GIT_EINVALIDREFNAME
-15

The name of the reference is not valid

GIT_EREFCORRUPTED
-16

The specified reference has its data corrupted

GIT_ETOONESTEDSYMREF
-17

The specified symbolic reference is too deeply nested

GIT_EPACKEDREFSCORRUPTED
-18

The pack-refs file is either corrupted or its format is not currently supported

GIT_EINVALIDPATH
-19

The path is invalid

GIT_EREVWALKOVER
-20

The revision walker is empty; there are no more commits left to iterate

GIT_EINVALIDREFSTATE
-21

The state of the reference is not valid

GIT_ENOTIMPLEMENTED
-22

This feature has not been implemented yet

GIT_EEXISTS
-23

A reference with this name already exists

GIT_EOVERFLOW
-24

The given integer literal is too large to be parsed

GIT_ENOTNUM
-25

The given literal is not a valid number

GIT_ESTREAM
-26

Streaming error

GIT_EINVALIDARGS
-27

invalid arguments to function

GIT_EOBJCORRUPTED
-28

The specified object has its data corrupted

GIT_EAMBIGUOUSOIDPREFIX
-29

The given short oid is ambiguous

GIT_EPASSTHROUGH
-30

Skip and passthrough the given ODB backend

GIT_ENOMATCH
-31

The path pattern and string did not match

GIT_ESHORTBUFFER
-32

The buffer is too short to satisfy the request

Versions