Merge branch 'js/early-config' into maint

Correct start-up sequence so that a repository could be placed immediately under the root directory again (which was broken at around Git 2.13). * js/early-config: setup: avoid double slashes when looking for HEAD

Junio C Hamano committed Nov 15, 2017 at 12:05 UTC 16f8cd1fba98fc39ac32c7063e38f9c8470f643a

No changes.