author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 2 Oct 2007 16:24:44 +0000 (12:24 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 3 Oct 2007 04:14:18 +0000 (00:14 -0400) | ||
commit | 501e4c6f23378aca2ce14ba4bc3eebeccb92e8d7 | |
tree | f8e2b9b3b9305f0df7b5441a779e6154dfc37249 | tree | snapshot |
parent | 2fe167b67a479b19e52b974f9518436565e6793b | commit | diff |
git-gui: Allow gitk to be started on Cygwin with native Tcl/Tk
gitk expects $env(GIT_DIR) to be valid as both a path that core Git
and Tcl/Tk can resolve to a valid directory, but it has no special
handling for Cygwin style UNIX paths and Windows style paths. So
we need to do that for gitk and ensure that only relative paths are
fed to it, thus allowing both Cygwin style and UNIX style paths to
be resolved.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
gitk expects $env(GIT_DIR) to be valid as both a path that core Git
and Tcl/Tk can resolve to a valid directory, but it has no special
handling for Cygwin style UNIX paths and Windows style paths. So
we need to do that for gitk and ensure that only relative paths are
fed to it, thus allowing both Cygwin style and UNIX style paths to
be resolved.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |