summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-19 00:06:09 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-02-21 05:11:01 (GMT)
commitee40599330e75d9266672ed5031b3f75764fea3d (patch)
tree8aa2a28604a4a681f230506a287059f908f398ed /git-gui.sh
parent372ef954a15c321a1065bf7e764449ce7767277f (diff)
downloadgit-ee40599330e75d9266672ed5031b3f75764fea3d.zip
git-ee40599330e75d9266672ed5031b3f75764fea3d.tar.gz
git-ee40599330e75d9266672ed5031b3f75764fea3d.tar.bz2
git-gui: Use mixed path for docs on Cygwin.
The Firefox browser requires that a URL use / to delimit directories. This is instead of \, as \ gets escaped by the browser into its hex escape code and then relative URLs are incorrectly resolved, Firefox no longer sees the directories for what they are. Since we are handing the browser a true URL, we better use the standard / for directories. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 551c11c..63848dc 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -5336,7 +5336,7 @@ set doc_path [file dirname [gitexec]]
set doc_path [file join $doc_path Documentation index.html]
if {[is_Cygwin]} {
- set doc_path [exec cygpath --windows $doc_path]
+ set doc_path [exec cygpath --mixed $doc_path]
}
if {$browser eq {}} {