projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-patch: -n and -k are mutually exclusive.
[git.git]
/
builtin-tar-tree.c
diff --git
a/builtin-tar-tree.c
b/builtin-tar-tree.c
index
e97e0af
..
2d5e06f
100644
(file)
--- 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;
{
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);
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
);
}
}