summaryrefslogtreecommitdiff
path: root/builtin-tar-tree.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-09-24 15:30:44 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-25 02:55:07 (GMT)
commit81b84c42d645dd9c30b77f804abc07e128dc490b (patch)
treea0f75f8d6f0863d14b7ad658cc6e88f60da41605 /builtin-tar-tree.c
parentb0ed9eafb35b2330d5a96be79307f0e65547febb (diff)
downloadgit-81b84c42d645dd9c30b77f804abc07e128dc490b.zip
git-81b84c42d645dd9c30b77f804abc07e128dc490b.tar.gz
git-81b84c42d645dd9c30b77f804abc07e128dc490b.tar.bz2
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>
Diffstat (limited to 'builtin-tar-tree.c')
-rw-r--r--builtin-tar-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index 437eb72..82b4951 100644
--- a/builtin-tar-tree.c
+++ b/builtin-tar-tree.c
@@ -267,8 +267,6 @@ static int generate_tar(int argc, const char **argv, const char *prefix)
int result;
char *base = NULL;
- git_config(git_tar_config);
-
memset(&args, 0, sizeof(args));
if (argc != 2 && argc != 3)
usage(tar_tree_usage);