summaryrefslogtreecommitdiff
path: root/src/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ignore.c')
-rw-r--r--src/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ignore.c b/src/ignore.c
index 2a7060501..fc6194bb5 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -40,7 +40,7 @@ static int parse_ignore_file(
git__free(match->pattern);
match->pattern = NULL;
- if (error == GIT_NOTFOUND)
+ if (error == GIT_ENOTFOUND)
error = 0;
} else {
match = NULL; /* vector now "owns" the match */