diff options
author | Russell Belfer <rb@github.com> | 2012-06-11 09:24:02 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-06-11 09:24:02 -0700 |
commit | 9939e602d8aaffcc65e2db54ff670c8fa888299c (patch) | |
tree | a4978879533c6558541e14fcf9551ad44b6f065b /src/ignore.c | |
parent | cfc17dc41b1ce251d72696b4168b3d6d77fc54ab (diff) | |
download | libgit2-9939e602d8aaffcc65e2db54ff670c8fa888299c.tar.gz |
Ignores allow unescapes internal whitespace
Diffstat (limited to 'src/ignore.c')
-rw-r--r-- | src/ignore.c | 2 |
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))) { |