On Fri, Sep 4, 2015 at 8:18 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Jeff King <peff@xxxxxxxx> writes: > >> It shouldn't be necessary for $GIT_DIR, but it makes sense for other git >> variables. E.g., with "AcceptEnv GIT_*", "git -c" config is propagated. >> E.g.: >> ... > > Just to make sure I got you correctly, you are saying that "we > propagate, but that is not correct. We should stop doing so", right? Indeed, we should not propagate them. For what we know so far, at least GIT_DIR and GIT_WORK_TREE should be removed from the ssh environment, in case the remote server has AcceptEnv GIT_* and an older git version. -- Giuseppe "Oblomov" Bilotta -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html