Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorah <yoram.harmelin@gmail.com>2013-04-11 19:29:05 +0400
committeryorah <yoram.harmelin@gmail.com>2013-04-15 18:39:56 +0400
commit2e40a60e847d6c128af23e24ea7a8efebd2427da (patch)
tree398dabc6825bc63f578d39069a7a097f705bbf15 /src/attr_file.h
parent2d2260da41ddf22fd5c5f0c39ce16fad1548f29e (diff)
status: fix handling of filenames with special prefixes
Fix libgit2/libgit2sharp#379
Diffstat (limited to 'src/attr_file.h')
-rw-r--r--src/attr_file.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/attr_file.h b/src/attr_file.h
index d8abcda58..8ca7e4eb7 100644
--- a/src/attr_file.h
+++ b/src/attr_file.h
@@ -115,7 +115,13 @@ extern uint32_t git_attr_file__name_hash(const char *name);
* other utilities
*/
-extern int git_attr_fnmatch__parse(
+extern int git_attr_fnmatch__parse_gitattr_format(
+ git_attr_fnmatch *spec,
+ git_pool *pool,
+ const char *source,
+ const char **base);
+
+extern int git_attr_fnmatch__parse_shellglob_format(
git_attr_fnmatch *spec,
git_pool *pool,
const char *source,