Revision 411a1794120fa044f92ff53f41a4aa81018ed507 authored by Junio C Hamano on 24 March 2017, 19:57:53 UTC, committed by Junio C Hamano on 24 March 2017, 19:57:53 UTC
"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
2 parent s f3d5bbb + 4b0c3c7
History
File Mode Size
lib
macosx
po
windows
.gitattributes -rw-r--r-- 170 bytes
.gitignore -rw-r--r-- 97 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 11.5 KB
git-gui--askpass -rwxr-xr-x 1.3 KB
git-gui.sh -rwxr-xr-x 99.2 KB

back to top