diff options
| author | Russell Belfer <rb@github.com> | 2013-08-09 09:32:06 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-08-09 09:32:06 -0700 |
| commit | 33d532dcfacbc0d936341848efc60dd55956ec10 (patch) | |
| tree | 2f6bbfb7e6ee7d3fde653982f9026fe65751a88c /src/attr_file.h | |
| parent | 7f7ebe13c458217dcae419914dd15b434f513373 (diff) | |
| parent | 2e40a60e847d6c128af23e24ea7a8efebd2427da (diff) | |
| download | libgit2-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/attr_file.h')
| -rw-r--r-- | src/attr_file.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/attr_file.h b/src/attr_file.h index 15bba1c6a..afea1e115 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, |
