summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:52 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:08 -0700
commit18e4f4059936dd35dfe929f502101ca371af856c (patch)
tree057ac4f2f7555eba3c2e55bfe1ecaf65233dd8a1 /tree.h
parent5ab06518a71a8bd128a2aea38ddb537870d3ea2b (diff)
downloadgit-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.h b/tree.h
index 69bcb5e0ec..9dc90bac38 100644
--- 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);