summaryrefslogtreecommitdiff
path: root/src/pathspec.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/pathspec.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/pathspec.c')
-rw-r--r--src/pathspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathspec.c b/src/pathspec.c
index 625726e0b..4266bb99e 100644
--- a/src/pathspec.c
+++ b/src/pathspec.c
@@ -85,7 +85,7 @@ int git_pathspec__vinit(
match->flags = GIT_ATTR_FNMATCH_ALLOWSPACE;
- ret = git_attr_fnmatch__parse(match, strpool, NULL, &pattern);
+ ret = git_attr_fnmatch__parse_shellglob_format(match, strpool, NULL, &pattern);
if (ret == GIT_ENOTFOUND) {
git__free(match);
continue;