Code

push: always load default config
authorJeff King <peff@peff.net>
Sun, 25 Oct 2009 19:15:22 +0000 (15:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2009 02:25:47 +0000 (19:25 -0700)
commit2aae905f23f79f004625346d057e5be7a81dbcd4
tree27a2ce68477fa6d7670d3f076cbc89ef940dae4f
parent78d553b7d7b269bb22ebd8b1198657c37484a3a0
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>
builtin-push.c