diff options
| author | schu <schu-github@schulog.org> | 2011-05-29 17:44:14 +0200 |
|---|---|---|
| committer | schu <schu-github@schulog.org> | 2011-05-29 17:44:14 +0200 |
| commit | f5a86fefa9cc005db984defdbac82ec1dde27a40 (patch) | |
| tree | fb2f9b0a39a40bac94dd27c76825370e4a6a98b2 /src/fileops.c | |
| parent | 4191d529245084fa92e869aadda72dd740403d3a (diff) | |
| download | libgit2-f5a86fefa9cc005db984defdbac82ec1dde27a40.tar.gz | |
gitfo_isdir: fix error message
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'src/fileops.c')
| -rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index 292673482..73939349d 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -131,7 +131,7 @@ int gitfo_isdir(const char *path) return git__throw(GIT_ENOTFOUND, "%s does not exist", path); if (!S_ISDIR(st.st_mode)) - return git__throw(GIT_ENOTFOUND, "%s is not a file", path); + return git__throw(GIT_ENOTFOUND, "%s is a file", path); return GIT_SUCCESS; } |
