summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/git2/common.h2
-rw-r--r--src/errors.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 34efe808b..ec338db4e 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -115,7 +115,7 @@
/** The specified repository is invalid */
#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)
/** The object cannot be written that because it's missing internal data */
diff --git a/src/errors.c b/src/errors.c
index 880163f78..1dc54f945 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -13,7 +13,7 @@ static struct {
{GIT_EOBJTYPE, "The specified object is of invalid type"},
{GIT_EOBJCORRUPTED, "The specified object has its data corrupted"},
{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_EPACKCORRUPTED, "The packfile for the ODB is corrupted"},
{GIT_EFLOCKFAIL, "Failed to adquire or release a file lock"},