fix typo in git-am manpage
[gitweb.git] / builtin-archive.c
index f613ac25164beadb4874d8a07b6bbac62796a530..5265764b6fa8d0a5dde76473e66f6bc7278fc8aa 100644 (file)
@@ -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);