Commit 8873728f3753814ff8ccf2de94abc756544b82ce

Carlos Martín Nieto 2014-06-16T19:10:04

Introduce GIT_EAUTH Introduce this error code to signal an authentication failure.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/git2/errors.h b/include/git2/errors.h
index c914653..b915606 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -41,6 +41,7 @@ typedef enum {
 	GIT_EMERGECONFLICT  = -13,	/**< Merge conflicts prevented operation */
 	GIT_ELOCKED         = -14,	/**< Lock file prevented operation */
 	GIT_EMODIFIED       = -15,	/**< Reference value does not match expected */
+	GIT_EAUTH           = -16,      /**< Authentication error */
 
 	GIT_PASSTHROUGH     = -30,	/**< Internal only */
 	GIT_ITEROVER        = -31,	/**< Signals end of iteration with iterator */