]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tree.h
kill limit_pathspec_to_literal() as it's only used by parse_pathspec()
[thirdparty/git.git] / tree.h
diff --git a/tree.h b/tree.h
index 69bcb5e0ec27de6699e349b8dcec26f1cbc4e741..9dc90bac38dff0970840e507af980092af78d31d 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -25,7 +25,7 @@ typedef int (*read_tree_fn_t)(const unsigned char *, const char *, int, const ch
 
 extern int read_tree_recursive(struct tree *tree,
                               const char *base, int baselen,
-                              int stage, struct pathspec *pathspec,
+                              int stage, const struct pathspec *pathspec,
                               read_tree_fn_t fn, void *context);
 
 extern int read_tree(struct tree *tree, int stage, struct pathspec *pathspec);