summaryrefslogtreecommitdiff
path: root/builtin-archive.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-03-03 17:14:25 +0100
committerJunio C Hamano <junkio@cox.net>2007-03-03 12:26:50 -0800
commit64edf4b2eb19e5b94eda60c0e21d85e45602a8f1 (patch)
tree1c44f6ac0dbf2f30e3d75cdb02d46f45bbd65f02 /builtin-archive.c
parent81035bba0a15f9c8c28016c131dda864b70774f3 (diff)
downloadgit-64edf4b2eb19e5b94eda60c0e21d85e45602a8f1.tar.gz
builtin-archive: use RUN_SETUP
It used to roll its own setup. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-archive.c')
-rw-r--r--builtin-archive.c2
1 files changed, 0 insertions, 2 deletions
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);