From: Paul Mackerras Date: Mon, 27 Jun 2005 00:37:11 +0000 (+1000) Subject: Check for the existence of the git directory on startup. X-Git-Tag: v0.99~154^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e2ede2b9f59e1bb95a4a862daf57cb47d97d0d8c?hp=e2ede2b9f59e1bb95a4a862daf57cb47d97d0d8c Check for the existence of the git directory on startup. Check that $GIT_DIR (or .git, if GIT_DIR is not set) is a directory. This means we can give a more informative error message if the user runs gitk somewhere that isn't a git repository. ---