Find a file
Giuseppe Bilotta a9fa11fe5b git-gui: set GIT_DIR and GIT_WORK_TREE after setup
Rather than juggling with the env var GIT_DIR around the invocation of
gitk, set it and GIT_WORK_TREE after finishing setup, ensuring that any
external tool works with the setup we're running with.

This also allows us to remove a couple of conditionals when running gitk
or git gui in a submodule, as we know that the variables are present and
have to be unset and reset before and after the invocation.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2010-01-23 16:02:16 -08:00
lib git-gui: update shortcut tools to use _gitworktree 2010-01-23 15:15:55 -08:00
macosx git-gui: Correct 'Visualize Branches' on Mac OS X to start gitk 2008-07-25 15:08:33 -07:00
po git-gui: Update russian translation 2009-08-12 08:34:37 -07:00
windows git-gui (Win): make starting via "Git GUI Here" on .git/ possible 2009-04-05 13:06:24 -07:00
.gitattributes git-gui: Use gitattribute "encoding" for file content display 2008-09-24 12:48:31 -07:00
.gitignore git-gui: Honor a config.mak in git-gui's top level 2007-10-13 22:14:14 -04:00
git-gui--askpass git-gui: Add a simple implementation of SSH_ASKPASS. 2008-11-01 16:01:34 -07:00
git-gui.sh git-gui: set GIT_DIR and GIT_WORK_TREE after setup 2010-01-23 16:02:16 -08:00
GIT-VERSION-GEN git-gui 0.12 2008-12-17 20:15:17 -08:00
Makefile git-gui: Makefile: consolidate .FORCE-* targets 2010-01-06 18:20:01 -08:00