git-tar-tree: Remove duplicate git_config() call
generate_tar() eventually calls write_tar_archive() which does all the "real" work and which also calls git_config(git_tar_config). We only need to do this once. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Rene Scharfe committed
Sep 24, 2006 at 17:30 UTC
81b84c42d645dd9c30b77f804abc07e128dc490b
1 file changed
-2
builtin-tar-tree.c
-2
@@ -267,8 +267,6 @@ static int generate_tar(int argc, const char **argv, const char *prefix)
267
int result;
268
char *base = NULL;
269
270
- git_config(git_tar_config);
271
-
270
memset(&args, 0, sizeof(args));
271
if (argc != 2 && argc != 3)
272
usage(tar_tree_usage);