do not pass "git -c foo=bar" params to transport helpers
commit655e8d9c92121b1d84fda91b73c4a0daa638cbf8
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 24 Aug 2010 06:41:14 +0000 (24 01:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Aug 2010 16:54:00 +0000 (24 09:54 -0700)
tree689f9e6c69b512e7391c21aa0f853bc04d9f8b2a
parent2b64fc894dada0916558fd0bfd19c50631f978cb
do not pass "git -c foo=bar" params to transport helpers

Like $GIT_CONFIG, $GIT_CONFIG_PARAMETERS needs to be suppressed by
"git push" and its cousins when running local transport helpers to
imitate remote transport well.

Noticed-by: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
environment.c
t/t5400-send-pack.sh