diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-16 17:12:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-16 17:12:18 -0700 |
commit | e75bf76f5462af4185d8260f6feecf24dd24a516 (patch) | |
tree | f079b41f350ea291f968ad531298053212c15922 /tree.h | |
parent | 1c7ac06dc612c469d74be6be8164465d65a7829a (diff) | |
parent | 489e351ea03e78746bad0c0ad4fcf4a63920256d (diff) | |
download | git-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |