提交 81b84c42 编写于 作者: R Rene Scharfe 提交者: Junio C Hamano

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: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 b0ed9eaf
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册