Merge branch 'jn/remote-helpers-with-git-dir'
commitace83dc26a13ada8f6b2c011b01fc0ae9e48b86f
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2017 21:57:16 +0000 (27 13:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2017 21:57:16 +0000 (27 13:57 -0800)
tree7e66e48d3ebd4660bc7c708ec099f46629e5bc1c
parent036465a248df7b0876e65d0e137826203305c606
parent4b0c3c7735716e8e1faba9a25b4aebf019d8570a
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
remote.c
t/t5550-http-fetch-dumb.sh
transport-helper.c