1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 00:37:55 +01:00
Find a file
Steffen Prohaska be700fe30f git-gui: add directory git-gui is located in to PATH (on Windows)
This commit modifies PATH to include a good guess where git
could be found. The first location to search for executable is
the directory git-gui is installed in. This is a good guess for
a sane installation.

Even if git is not available in PATH, git-gui is now able
to find it. Hence git-gui can be passed to wish as an absolute
path without caring about the environment.

We must modify PATH to be able to spawn shell based git commands.
For builtins it would be sufficient to located them and execute
them with their absolute path. But for shell based git commmands
PATH needs to be modified.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-10-10 02:26:00 -04:00
lib git-gui: Bind Cmd-, to Preferences on Mac OS X 2007-10-10 01:12:18 -04:00
macosx git-gui: Support a native Mac OS X application bundle 2007-09-27 22:17:00 -04:00
po git-gui: Update German translation, including latest glossary changes 2007-10-10 01:20:31 -04:00
.gitignore git-gui: Support a native Mac OS X application bundle 2007-09-27 22:17:00 -04:00
git-gui.sh git-gui: add directory git-gui is located in to PATH (on Windows) 2007-10-10 02:26:00 -04:00
GIT-VERSION-GEN Merge branch 'maint' 2007-06-11 19:06:15 -04:00
Makefile git-gui: Support a native Mac OS X application bundle 2007-09-27 22:17:00 -04:00