author | Jeff King <peff@peff.net> | |
Wed, 22 Jun 2011 01:22:20 +0000 (21:22 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 22 Jun 2011 18:12:34 +0000 (11:12 -0700) | ||
commit | 40e7629194c79e72009b5b8e98cce65921b0faf2 | |
tree | 3c08dd4ad14c2aac2ed4627badca17cb42629e07 | tree | snapshot |
parent | 2321286298bf956a3fa8e91dd361b8cf4e81e6a0 | commit | diff |
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c | diff | blob | history |