summaryrefslogtreecommitdiff
path: root/src/ignore.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-08-09 09:32:06 -0700
committerRussell Belfer <rb@github.com>2013-08-09 09:32:06 -0700
commit33d532dcfacbc0d936341848efc60dd55956ec10 (patch)
tree2f6bbfb7e6ee7d3fde653982f9026fe65751a88c /src/ignore.c
parent7f7ebe13c458217dcae419914dd15b434f513373 (diff)
parent2e40a60e847d6c128af23e24ea7a8efebd2427da (diff)
downloadlibgit2-33d532dcfacbc0d936341848efc60dd55956ec10.tar.gz
Merge pull request #1462 from yorah/fix/libgit2sharp-issue-379
status: fix handling of filenames with special prefixes
Diffstat (limited to 'src/ignore.c')
-rw-r--r--src/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ignore.c b/src/ignore.c
index cc90b0c61..7d8280403 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -39,7 +39,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;