docs/diff-options: clarify scope of diff-filter types
[gitweb.git] / pathspec.h
index 59809e4793a20e3030462ec23bff2b5358283282..49fd823ddfe9eb96c983f9f812f6ca1dcf062951 100644 (file)
 #define PATHSPEC_ONESTAR 1     /* the pathspec pattern satisfies GFNM_ONESTAR */
 
 struct pathspec {
-       const char **_raw; /* get_pathspec() result, not freed by clear_pathspec() */
        int nr;
        unsigned int has_wildcard:1;
        unsigned int recursive:1;
        unsigned magic;
        int max_depth;
        struct pathspec_item {
-               const char *match;
-               const char *original;
+               char *match;
+               char *original;
                unsigned magic;
                int len, prefix;
                int nowildcard_len;