Skip to content

Commit ee40599

Browse files
committed
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>
1 parent 372ef95 commit ee40599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-gui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5336,7 +5336,7 @@ set doc_path [file dirname [gitexec]]
53365336
set doc_path [file join $doc_path Documentation index.html]
53375337

53385338
if {[is_Cygwin]} {
5339-
set doc_path [exec cygpath --windows $doc_path]
5339+
set doc_path [exec cygpath --mixed $doc_path]
53405340
}
53415341

53425342
if {$browser eq {}} {

0 commit comments

Comments
 (0)