From fdffdb2ddbf05442dd2662937e62258991e4b28c Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Mon, 18 May 2009 12:42:41 +0100 Subject: [PATCH] git: browsing paths with spaces when using the start command msysGit issue 258 tracks a problem opening a browser onto file paths that contain spaces or parentheses when calling the web--browse script. This path modifies how the start command is called to solve this. Signed-off-by: Pat Thoyts --- git-web--browse.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-web--browse.sh b/git-web--browse.sh index 7ed0faddcd..4f5c740df5 100755 --- a/git-web--browse.sh +++ b/git-web--browse.sh @@ -161,9 +161,12 @@ case "$browser" in ;; esac ;; - w3m|links|lynx|open|start) + w3m|links|lynx|open) eval "$browser_path" "$@" ;; + start) + exec "$browser_path" '"web-browse"' "$@" + ;; dillo) "$browser_path" "$@" & ;;