X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tree.h;h=69bcb5e0ec27de6699e349b8dcec26f1cbc4e741;hb=b1d645b58ac6c96ffdc8d9a01f0b44a10deb43f9;hp=2ff01a4f839ecc2206fcc1c13fee9d5d202b1128;hpb=77f143bf3e218857ec8e5244d7e862e8e0c1a041;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 */