diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-07-14 15:35:52 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-15 10:56:08 -0700 |
commit | 18e4f4059936dd35dfe929f502101ca371af856c (patch) | |
tree | 057ac4f2f7555eba3c2e55bfe1ecaf65233dd8a1 /tree.h | |
parent | 5ab06518a71a8bd128a2aea38ddb537870d3ea2b (diff) | |
download | git-18e4f4059936dd35dfe929f502101ca371af856c.tar.gz |
checkout: convert read_tree_some to take struct pathspec
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.h')
-rw-r--r-- | tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |