From: Pat Thoyts Date: Sun, 31 May 2009 16:15:20 +0000 (+0200) Subject: git: browsing paths with spaces when using the start command X-Git-Tag: v1.6.4-rc0~63^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b66da2762025fe38ae426bdae5b288a88028e16;p=git.git 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 patch modifies how the start command is called to solve this. Signed-off-by: Pat Thoyts Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- diff --git a/git-web--browse.sh b/git-web--browse.sh index 7ed0faddc..4f5c740df 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" "$@" & ;;