Handle failure of core.worktree to identify the working directory.
commit4784ecfb32e19af5541f7466ba63d7adc6a5e097
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 18 Feb 2010 02:11:21 +0000 (18 02:11 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 29 Jul 2010 11:17:07 +0000 (29 13:17 +0200)
tree12b5d7725f3e7a1c0b06ca96671d7e3a8c9266ce
parentc70f14f4d0b221d94b487d0cf8d7cba831603bed
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