X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.h;h=dd6947e1d46098732ff1d8c3f23087c1e7163fe9;hb=00fb2d25632191b89ac4144e1a6498470a4a1c9e;hp=433b5b4cd4c51e9b7557d3056570ed46b7ceba92;hpb=3b425656a469722d9c45b7c88e0e01a9cd8c0fd3;p=git.git diff --git a/dir.h b/dir.h index 433b5b4cd..dd6947e1d 100644 --- a/dir.h +++ b/dir.h @@ -64,6 +64,7 @@ struct dir_struct { #define MATCHED_RECURSIVELY 1 #define MATCHED_FNMATCH 2 #define MATCHED_EXACTLY 3 +extern char *common_prefix(const char **pathspec); extern int match_pathspec(const char **pathspec, const char *name, int namelen, int prefix, char *seen); extern int match_pathspec_depth(const struct pathspec *pathspec, const char *name, int namelen,