git-gui: Improve the Windows and Mac OS X shortcut creators
commit7eafa2f1578e605e1e68d8ccba9d600cc6b89173
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 07:28:41 +0000 (9 03:28 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 07:38:10 +0000 (9 03:38 -0400)
tree458a62dab13588c872007c88929fddf9b57d0832
parent74c4763c76a111809747652210962ad09896b74f
git-gui: Improve the Windows and Mac OS X shortcut creators

We now embed any GIT_* and SSH_* environment variables as well as
the path to the git wrapper executable into the Mac OS X .app file.
This should allow us to restore the environment properly when
we restart.

We also try to use proper Bourne shell single quoting when we can,
as this avoids any sort of problems that might occur due to a path
containing shell metacharacters.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
lib/shortcut.tcl