summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c2
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;
}