Commit 9939e602d8aaffcc65e2db54ff670c8fa888299c

Russell Belfer 2012-06-11T09:24:02

Ignores allow unescapes internal whitespace

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/ignore.c b/src/ignore.c
index fc6194b..f2d08f5 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)))
 		{