Commit 05314b5b by Carlos Martín Nieto

Make GIT_EINVALIDTYPE available for use in config

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
parent 9f7f4122
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
/** The specified repository is invalid */ /** The specified repository is invalid */
#define GIT_ENOTAREPO (GIT_ERROR - 7) #define GIT_ENOTAREPO (GIT_ERROR - 7)
/** The object type is invalid or doesn't match */ /** The object or config variable type is invalid or doesn't match */
#define GIT_EINVALIDTYPE (GIT_ERROR - 8) #define GIT_EINVALIDTYPE (GIT_ERROR - 8)
/** The object cannot be written that because it's missing internal data */ /** The object cannot be written that because it's missing internal data */
......
...@@ -13,7 +13,7 @@ static struct { ...@@ -13,7 +13,7 @@ static struct {
{GIT_EOBJTYPE, "The specified object is of invalid type"}, {GIT_EOBJTYPE, "The specified object is of invalid type"},
{GIT_EOBJCORRUPTED, "The specified object has its data corrupted"}, {GIT_EOBJCORRUPTED, "The specified object has its data corrupted"},
{GIT_ENOTAREPO, "The specified repository is invalid"}, {GIT_ENOTAREPO, "The specified repository is invalid"},
{GIT_EINVALIDTYPE, "The object type is invalid or doesn't match"}, {GIT_EINVALIDTYPE, "The object or config variable type is invalid or doesn't match"},
{GIT_EMISSINGOBJDATA, "The object cannot be written that because it's missing internal data"}, {GIT_EMISSINGOBJDATA, "The object cannot be written that because it's missing internal data"},
{GIT_EPACKCORRUPTED, "The packfile for the ODB is corrupted"}, {GIT_EPACKCORRUPTED, "The packfile for the ODB is corrupted"},
{GIT_EFLOCKFAIL, "Failed to adquire or release a file lock"}, {GIT_EFLOCKFAIL, "Failed to adquire or release a file lock"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment