From: Junio C Hamano Date: Mon, 27 Feb 2017 21:57:16 +0000 (-0800) Subject: Merge branch 'jn/remote-helpers-with-git-dir' X-Git-Tag: v2.13.0-rc0~162 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ace83dc26a13ada8f6b2c011b01fc0ae9e48b86f?hp=--cc Merge branch 'jn/remote-helpers-with-git-dir' "git ls-remote" and "git archive --remote" are designed to work without being in a directory under Git's control. However, recent updates revealed that we randomly look into a directory called .git/ without actually doing necessary set-up when working in a repository. Stop doing so. * jn/remote-helpers-with-git-dir: remote helpers: avoid blind fall-back to ".git" when setting GIT_DIR remote: avoid reading $GIT_DIR config in non-repo --- ace83dc26a13ada8f6b2c011b01fc0ae9e48b86f