@@ -19,31 +19,31 @@ GIT_BEGIN_DECL
1919
2020/** Generic return codes */
2121typedef enum {
22- GIT_OK = 0 , /*< No error */
22+ GIT_OK = 0 , /** < No error */
2323
24- GIT_ERROR = -1 , /*< Generic error */
25- GIT_ENOTFOUND = -3 , /*< Requested object could not be found */
26- GIT_EEXISTS = -4 , /*< Object exists preventing operation */
27- GIT_EAMBIGUOUS = -5 , /*< More than one object matches */
28- GIT_EBUFS = -6 , /*< Output buffer too short to hold data */
24+ GIT_ERROR = -1 , /** < Generic error */
25+ GIT_ENOTFOUND = -3 , /** < Requested object could not be found */
26+ GIT_EEXISTS = -4 , /** < Object exists preventing operation */
27+ GIT_EAMBIGUOUS = -5 , /** < More than one object matches */
28+ GIT_EBUFS = -6 , /** < Output buffer too short to hold data */
2929
3030 /* GIT_EUSER is a special error that is never generated by libgit2
3131 * code. You can return it from a callback (e.g to stop an iteration)
3232 * to know that it was generated by the callback and not by libgit2.
3333 */
3434 GIT_EUSER = -7 ,
3535
36- GIT_EBAREREPO = -8 , /*< Operation not allowed on bare repository */
37- GIT_EUNBORNBRANCH = -9 , /*< HEAD refers to branch with no commits */
38- GIT_EUNMERGED = -10 , /*< Merge in progress prevented operation */
39- GIT_ENONFASTFORWARD = -11 , /*< Reference was not fast-forwardable */
40- GIT_EINVALIDSPEC = -12 , /*< Name/ref spec was not in a valid format */
41- GIT_EMERGECONFLICT = -13 , /*< Merge conflicts prevented operation */
42- GIT_ELOCKED = -14 , /*< Lock file prevented operation */
43- GIT_EMODIFIED = -15 , /*< Reference value does not match expected */
36+ GIT_EBAREREPO = -8 , /** < Operation not allowed on bare repository */
37+ GIT_EUNBORNBRANCH = -9 , /** < HEAD refers to branch with no commits */
38+ GIT_EUNMERGED = -10 , /** < Merge in progress prevented operation */
39+ GIT_ENONFASTFORWARD = -11 , /** < Reference was not fast-forwardable */
40+ GIT_EINVALIDSPEC = -12 , /** < Name/ref spec was not in a valid format */
41+ GIT_EMERGECONFLICT = -13 , /** < Merge conflicts prevented operation */
42+ GIT_ELOCKED = -14 , /** < Lock file prevented operation */
43+ GIT_EMODIFIED = -15 , /** < Reference value does not match expected */
4444
45- GIT_PASSTHROUGH = -30 , /*< Internal only */
46- GIT_ITEROVER = -31 , /*< Signals end of iteration with iterator */
45+ GIT_PASSTHROUGH = -30 , /** < Internal only */
46+ GIT_ITEROVER = -31 , /** < Signals end of iteration with iterator */
4747} git_error_code ;
4848
4949/**
0 commit comments