Commit 40e76291 authored by Jeff King's avatar Jeff King Committed by Junio C Hamano

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: default avatarJeff King <peff@peff.net>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 23212862
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment