summaryrefslogtreecommitdiff
path: root/src/git2
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-01-26 20:29:06 +0100
committerVicent Marti <tanoku@gmail.com>2011-01-29 03:29:41 +0200
commitf2c2471389048b8f930ed945ed1acfe004f901a4 (patch)
tree64ef0cebd41d879423c04addf4b132391726019d /src/git2
parent2e6fd09c5d473b3d157aa457ccc82424406e63e1 (diff)
downloadlibgit2-f2c2471389048b8f930ed945ed1acfe004f901a4.tar.gz
Made path prettifying functions return GIT_EINVALIDPATH instead of GIT_ERROR.
Diffstat (limited to 'src/git2')
-rw-r--r--src/git2/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/git2/common.h b/src/git2/common.h
index bbeec4128..350429f5c 100644
--- a/src/git2/common.h
+++ b/src/git2/common.h
@@ -136,6 +136,9 @@
/** The index file is not backed up by an existing repository */
#define GIT_EBAREINDEX (GIT_ERROR -14)
+/** The path is invalid */
+#define GIT_EINVALIDPATH (GIT_ERROR - 19)
+
GIT_BEGIN_DECL
/** @} */
GIT_END_DECL