summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28a559c)
raw | patch | inline | side by side (parent: 28a559c)
author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Sun, 31 May 2009 16:15:20 +0000 (18:15 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Jun 2009 07:22:01 +0000 (00:22 -0700) |
msysGit issue 258 tracks a problem opening a browser onto file
paths that contain spaces or parentheses when calling the
web--browse script. This patch modifies how the start command is
called to solve this.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
paths that contain spaces or parentheses when calling the
web--browse script. This patch modifies how the start command is
called to solve this.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-web--browse.sh | patch | blob | history |
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 7ed0faddcd75e024ce18d8b80994d41a9207a7ca..4f5c740df5651853e575ba68366152992b0f043d 100755 (executable)
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
;;
esac
;;
- w3m|links|lynx|open|start)
+ w3m|links|lynx|open)
eval "$browser_path" "$@"
;;
+ start)
+ exec "$browser_path" '"web-browse"' "$@"
+ ;;
dillo)
"$browser_path" "$@" &
;;