diff options
| author | Patrick Steinhardt <ps@pks.im> | 2019-06-13 15:20:23 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2019-06-15 09:34:21 +0200 |
| commit | 451df7930db432e7b251bbd0fe2862fe96424ae9 (patch) | |
| tree | fa37153666ddbc396b20cefac7d32e2de41145f8 /src/pathspec.c | |
| parent | a9f576291ac3c2790124809b2390b3f2915aaa44 (diff) | |
| download | libgit2-451df7930db432e7b251bbd0fe2862fe96424ae9.tar.gz | |
posix: remove implicit include of "fnmatch.h"
We're about to phase out our bundled fnmatch implementation as
git.git has moved to wildmatch long ago in 2014. To make it
easier to spot which files are stilll using fnmatch, remove the
implicit "fnmatch.h" include in "posix.h" and instead include it
explicitly.
Diffstat (limited to 'src/pathspec.c')
| -rw-r--r-- | src/pathspec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathspec.c b/src/pathspec.c index 07795f256..80144c741 100644 --- a/src/pathspec.c +++ b/src/pathspec.c @@ -16,6 +16,7 @@ #include "index.h" #include "bitvec.h" #include "diff.h" +#include "fnmatch.h" /* what is the common non-wildcard prefix for all items in the pathspec */ char *git_pathspec_prefix(const git_strarray *pathspec) |
