summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ignore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ignore.c b/src/ignore.c
index fc6194bb5..f2d08f59e 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -28,6 +28,8 @@ static int parse_ignore_file(
GITERR_CHECK_ALLOC(match);
}
+ match->flags = GIT_ATTR_FNMATCH_ALLOWSPACE;
+
if (!(error = git_attr_fnmatch__parse(
match, ignores->pool, context, &scan)))
{