Handle failure of core.worktree to identify the working directory.
commit4fd6984e82ebcbb4ef4a4913004ee7effe25cc91
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 18 Feb 2010 02:11:21 +0000 (18 02:11 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 12 Apr 2010 12:56:11 +0000 (12 14:56 +0200)
tree99af67813c77a08169df9cd347a2dc52a4ef53e6
parent88d1dbe6969ca038cd4551aa390985bfdf1b00ef
Handle failure of core.worktree to identify the working directory.

Commit 21985a11 'git-gui: handle non-standard worktree locations' attempts
to use either GIT_WORK_TREE or core.worktree to set the _gitworktree
variable but these may not be set which leads to a failure to launch
gitk to review history. Use _gitdir to set the location for a standard
git layout where the parent of the .git directory is the working tree.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui/git-gui.sh