From: Junio C Hamano Date: Mon, 5 Oct 2015 19:30:14 +0000 (-0700) Subject: Merge branch 'jk/connect-clear-env' X-Git-Tag: v2.7.0-rc0~141 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e6f11c19abab516b81a722ea56dccd20fb9c0987 Merge branch 'jk/connect-clear-env' The ssh transport, just like any other transport over the network, did not clear GIT_* environment variables, but it is possible to use SendEnv and AcceptEnv to leak them to the remote invocation of Git, which is not a good idea at all. Explicitly clear them just like we do for the local transport. * jk/connect-clear-env: git_connect: clarify conn->use_shell flag git_connect: clear GIT_* environment for ssh --- e6f11c19abab516b81a722ea56dccd20fb9c0987