diff options
Diffstat (limited to 'builtin-tar-tree.c')
-rw-r--r-- | builtin-tar-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c index e97e0af985..2d5e06fb69 100644 --- a/builtin-tar-tree.c +++ b/builtin-tar-tree.c @@ -304,7 +304,7 @@ static void traverse_tree(struct tree_desc *tree, struct strbuf *path) } } -int generate_tar(int argc, const char **argv) +static int generate_tar(int argc, const char **argv, char** envp) { unsigned char sha1[20], tree_sha1[20]; struct commit *commit; @@ -404,5 +404,5 @@ int cmd_tar_tree(int argc, const char **argv, char **envp) usage(tar_tree_usage); if (!strncmp("--remote=", argv[1], 9)) return remote_tar(argc, argv); - return generate_tar(argc, argv); + return generate_tar(argc, argv, envp); } |