Commit f5a86fef by schu

gitfo_isdir: fix error message

Signed-off-by: schu <schu-github@schulog.org>
parent 4191d529
...@@ -131,7 +131,7 @@ int gitfo_isdir(const char *path) ...@@ -131,7 +131,7 @@ int gitfo_isdir(const char *path)
return git__throw(GIT_ENOTFOUND, "%s does not exist", path); return git__throw(GIT_ENOTFOUND, "%s does not exist", path);
if (!S_ISDIR(st.st_mode)) 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; return GIT_SUCCESS;
} }
......
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