]> git.ipfire.org Git - thirdparty/git.git/blobdiff - dir.h
add parse_pathspec() that converts cmdline args to struct pathspec
[thirdparty/git.git] / dir.h
diff --git a/dir.h b/dir.h
index 3d6b80c933b395644c005f6d8df4697215ff000a..229ccc8d7947394ad67036d154dd5cee8d90e6bd 100644 (file)
--- a/dir.h
+++ b/dir.h
@@ -128,6 +128,8 @@ struct dir_struct {
 #define MATCHED_RECURSIVELY 1
 #define MATCHED_FNMATCH 2
 #define MATCHED_EXACTLY 3
+extern int simple_length(const char *match);
+extern int no_wildcard(const char *string);
 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,