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>
Shawn O. Pearce committed
Feb 18, 2007 at 19:06 UTC
ee40599330e75d9266672ed5031b3f75764fea3d
1 file changed
+1
-1
git-gui.sh
+1
-1
@@ -5336,7 +5336,7 @@ set doc_path [file dirname [gitexec]]
5336
set doc_path [file join $doc_path Documentation index.html]
5337
5338
if {[is_Cygwin]} {
5339
- set doc_path [exec cygpath --windows $doc_path]
5339
+ set doc_path [exec cygpath --mixed $doc_path]
5340
}
5341
5342
if {$browser eq {}} {