From 2e40a60e847d6c128af23e24ea7a8efebd2427da Mon Sep 17 00:00:00 2001 From: yorah Date: Thu, 11 Apr 2013 17:29:05 +0200 Subject: status: fix handling of filenames with special prefixes Fix libgit2/libgit2sharp#379 --- src/ignore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ignore.c') 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; -- cgit v1.2.1