From: Dmitry Potapov Date: Sun, 10 Feb 2008 07:22:22 +0000 (-0800) Subject: git-web--browse: do not start the browser with nohup X-Git-Tag: v1.5.5-rc0~207^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0685a4f45ac8916212188032f75d4acb4031089;p=git.git git-web--browse: do not start the browser with nohup There is no good reason to run GUI browsers using "nohup". It does not solve any real problem but creates annoying "nohup.out" files in every directory where git help -w is run. Signed-off-by: Dmitry Potapov Signed-off-by: Junio C Hamano --- diff --git a/git-web--browse.sh b/git-web--browse.sh index 8ed489d88..2c51f361d 100755 --- a/git-web--browse.sh +++ b/git-web--browse.sh @@ -129,7 +129,7 @@ case "$browser" in vers=$(expr "$($browser_path -version)" : '.* \([0-9][0-9]*\)\..*') NEWTAB='-new-tab' test "$vers" -lt 2 && NEWTAB='' - nohup "$browser_path" $NEWTAB "$@" & + "$browser_path" $NEWTAB "$@" & ;; konqueror) case "$(basename "$browser_path")" in @@ -143,7 +143,7 @@ case "$browser" in eval "$browser_path" newTab "$@" ;; *) - nohup "$browser_path" "$@" & + "$browser_path" "$@" & ;; esac ;; @@ -151,6 +151,6 @@ case "$browser" in eval "$browser_path" "$@" ;; dillo) - nohup "$browser_path" "$@" & + "$browser_path" "$@" & ;; esac