summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-07-16 17:12:18 -0700
committerJunio C Hamano <gitster@pobox.com>2008-07-16 17:12:18 -0700
commite75bf76f5462af4185d8260f6feecf24dd24a516 (patch)
treef079b41f350ea291f968ad531298053212c15922 /tree.h
parent1c7ac06dc612c469d74be6be8164465d65a7829a (diff)
parent489e351ea03e78746bad0c0ad4fcf4a63920256d (diff)
downloadgit-e75bf76f5462af4185d8260f6feecf24dd24a516.tar.gz
Merge branch 'rs/archive'
* rs/archive: archive: remove extra arguments parsing code archive: unify file attribute handling archive: centralize archive entry writing archive: add baselen member to struct archiver_args add context pointer to read_tree_recursive() archive: remove args member from struct archiver
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.h b/tree.h
index dd25c539ef..2ff01a4f83 100644
--- a/tree.h
+++ b/tree.h
@@ -21,12 +21,12 @@ int parse_tree(struct tree *tree);
struct tree *parse_tree_indirect(const unsigned char *sha1);
#define READ_TREE_RECURSIVE 1
-typedef int (*read_tree_fn_t)(const unsigned char *, const char *, int, const char *, unsigned int, int);
+typedef int (*read_tree_fn_t)(const unsigned char *, const char *, int, const char *, unsigned int, int, void *);
extern int read_tree_recursive(struct tree *tree,
const char *base, int baselen,
int stage, const char **match,
- read_tree_fn_t fn);
+ read_tree_fn_t fn, void *context);
extern int read_tree(struct tree *tree, int stage, const char **paths);