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/pathspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pathspec.c') diff --git a/src/pathspec.c b/src/pathspec.c index d4eb12582..9dee55ea1 100644 --- a/src/pathspec.c +++ b/src/pathspec.c @@ -78,7 +78,7 @@ int git_pathspec_init( 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; -- cgit v1.2.1