From 64edf4b2eb19e5b94eda60c0e21d85e45602a8f1 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 3 Mar 2007 17:14:25 +0100 Subject: builtin-archive: use RUN_SETUP It used to roll its own setup. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- builtin-archive.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'builtin-archive.c') diff --git a/builtin-archive.c b/builtin-archive.c index f613ac2516..5265764b6f 100644 --- a/builtin-archive.c +++ b/builtin-archive.c @@ -252,8 +252,6 @@ int cmd_archive(int argc, const char **argv, const char *prefix) memset(&ar, 0, sizeof(ar)); tree_idx = parse_archive_args(argc, argv, &ar); - if (prefix == NULL) - prefix = setup_git_directory(); argv += tree_idx; parse_treeish_arg(argv, &ar.args, prefix); -- cgit v1.2.3