discover_git_directory(): avoid setting invalid git_dir
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 14 Jun 2017 11:35:26 +0000 (13:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jun 2017 19:31:43 +0000 (12:31 -0700)
commit69743f9...4f8411853e347fbd392221552b43fd12
treefd9dfba...46d5ac17ec92d51dfbb3aab34a8c4878copy hash to clipboard (tree)
parentb06d364...105c8758ed019125a4399cb7efdcce2ccopy hash to clipboard (diff)
setup.c