author | Jeff King <peff@peff.net> | |
Sun, 25 Oct 2009 19:15:22 +0000 (15:15 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Oct 2009 02:25:47 +0000 (19:25 -0700) | ||
commit | 2aae905f23f79f004625346d057e5be7a81dbcd4 | |
tree | 27a2ce68477fa6d7670d3f076cbc89ef940dae4f | tree | snapshot |
parent | 78d553b7d7b269bb22ebd8b1198657c37484a3a0 | commit | diff |
push: always load default config
This is needed because we want to use the
advice.pushnonfastforward variable.
Previously, we would load the config on demand only when we
needed to look at push.default. Which meant that "git push"
would load it, but "git push remote" would not, leading to
differing behavior.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is needed because we want to use the
advice.pushnonfastforward variable.
Previously, we would load the config on demand only when we
needed to look at push.default. Which meant that "git push"
would load it, but "git push remote" would not, leading to
differing behavior.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-push.c | diff | blob | history |