]> git.proxmox.com Git - libgit2.git/commitdiff
Make GIT_EINVALIDTYPE available for use in config
authorCarlos Martín Nieto <cmn@elego.de>
Tue, 29 Mar 2011 10:25:46 +0000 (12:25 +0200)
committerCarlos Martín Nieto <cmn@elego.de>
Tue, 29 Mar 2011 10:25:46 +0000 (12:25 +0200)
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
include/git2/common.h
src/errors.c

index 34efe808ba42e302b1c7b6e8aff43fe8dcf0e96b..ec338db4e1e03c3048199530c4e01240b692bb91 100644 (file)
 /** 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 */
index 880163f784c8795dc336ef3c1e2ff8b19c01ad49..1dc54f94568f31b8a36138924419d9f613883034 100644 (file)
@@ -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"},