From: Junio C Hamano Date: Fri, 24 Mar 2017 19:57:53 +0000 (-0700) Subject: Merge branch 'jn/remote-helpers-with-git-dir' into maint X-Git-Tag: v2.12.2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/411a1794120fa044f92ff53f41a4aa81018ed507 Merge branch 'jn/remote-helpers-with-git-dir' into maint "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 --- 411a1794120fa044f92ff53f41a4aa81018ed507