]> git.ipfire.org Git - thirdparty/git.git/commit - gitk
Check for the existence of the git directory on startup.
authorPaul Mackerras <paulus@samba.org>
Mon, 27 Jun 2005 00:37:11 +0000 (10:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Jun 2005 00:37:11 +0000 (10:37 +1000)
commite2ede2b9f59e1bb95a4a862daf57cb47d97d0d8c
tree44d6ab722205eff9052cc4f7a51c0e420d137165
parentee3dc72e30a7e9b4eed301bd4fd21b306f811e36
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.
gitk