config: report a bug if git_dir exists without commondir
authorJohannes Schindelin <redacted>
Wed, 14 Nov 2018 13:59:02 +0000 (05:59 -0800)
committerJunio C Hamano <redacted>
Fri, 16 Nov 2018 02:54:01 +0000 (11:54 +0900)
commit44004872c891ae1b06cd3aff9c597828558ddedb
tree31b2397f49e02ec1bd741cdce0fd25b6ee725b47
parentd166e6afe5f257217836ef24a73764eba390c58d
config: report a bug if git_dir exists without commondir

This did happen at some stage, and was fixed relatively quickly. Make
sure that we detect very quickly, too, should that happen again.

Signed-off-by: Johannes Schindelin <redacted>
Reviewed-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
config.c
git clone https://git.99rst.org/PROJECT