From: Jeff King Date: Wed, 22 Jun 2011 01:22:20 +0000 (-0400) Subject: archive-tar: don't reload default config options X-Git-Tag: v1.7.7-rc0~88^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=40e7629194c79e72009b5b8e98cce65921b0faf2;p=git.git archive-tar: don't reload default config options We load our own tar-specific config, and then chain to git_default_config. This is pointless, as our caller should already have loaded the default config. It also introduces a needless inconsistency with the zip archiver, which does not look at the config files at all (and therefore relies on the caller to have loaded config). Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/archive-tar.c b/archive-tar.c index cee06ce3c..1ab1a2caf 100644 --- a/archive-tar.c +++ b/archive-tar.c @@ -231,7 +231,7 @@ static int git_tar_config(const char *var, const char *value, void *cb) } return 0; } - return git_default_config(var, value, cb); + return 0; } int write_tar_archive(struct archiver_args *args)