diff options
author | yorah <yoram.harmelin@gmail.com> | 2013-04-11 17:29:05 +0200 |
---|---|---|
committer | yorah <yoram.harmelin@gmail.com> | 2013-04-15 16:39:56 +0200 |
commit | 2e40a60e847d6c128af23e24ea7a8efebd2427da (patch) | |
tree | 398dabc6825bc63f578d39069a7a097f705bbf15 /src/ignore.c | |
parent | 2d2260da41ddf22fd5c5f0c39ce16fad1548f29e (diff) | |
download | libgit2-2e40a60e847d6c128af23e24ea7a8efebd2427da.tar.gz |
status: fix handling of filenames with special prefixes
Fix libgit2/libgit2sharp#379
Diffstat (limited to 'src/ignore.c')
-rw-r--r-- | src/ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ignore.c b/src/ignore.c index 17779522c..dae974b6e 100644 --- a/src/ignore.c +++ b/src/ignore.c @@ -49,7 +49,7 @@ static int parse_ignore_file( match->flags = GIT_ATTR_FNMATCH_ALLOWSPACE; - if (!(error = git_attr_fnmatch__parse( + if (!(error = git_attr_fnmatch__parse_gitattr_format( match, ignores->pool, context, &scan))) { match->flags |= GIT_ATTR_FNMATCH_IGNORE; |