Open trane opened 13 years ago
Errors come in the following format:
/** The specified repository is invalid */
#define GIT_ENOTAREPO (GIT_ERROR - 7)
/** The object type is invalid or doesn't match */
#define GIT_EINVALIDTYPE (GIT_ERROR - 8)
Public errors belong in /include/git2/common.h Most should go in that one. Private errors belong in src/common.h
We must add error codes to common.h specific to diff results. Discussion here for what error codes are needed go here.