X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tree.h;h=69bcb5e0ec27de6699e349b8dcec26f1cbc4e741;hb=82553cbb08b791aa0bed920ee58494268c0f579f;hp=2ff01a4f839ecc2206fcc1c13fee9d5d202b1128;hpb=b30ccd757354ea09b41e4359b0a5ab429d12f02e;p=git.git diff --git a/tree.h b/tree.h index 2ff01a4f8..69bcb5e0e 100644 --- a/tree.h +++ b/tree.h @@ -25,9 +25,9 @@ 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, const char **match, + int stage, struct pathspec *pathspec, read_tree_fn_t fn, void *context); -extern int read_tree(struct tree *tree, int stage, const char **paths); +extern int read_tree(struct tree *tree, int stage, struct pathspec *pathspec); #endif /* TREE_H */