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 <dpotapov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Dmitry Potapov committed
Feb 9, 2008 at 23:22 UTC
a0685a4f45ac8916212188032f75d4acb4031089
1 file changed
+3
-3
git-web--browse.sh
+3
-3
@@ -129,7 +129,7 @@ case "$browser" in
129
vers=$(expr "$($browser_path -version)" : '.* \([0-9][0-9]*\)\..*')
130
NEWTAB='-new-tab'
131
test "$vers" -lt 2 && NEWTAB=''
132
- nohup "$browser_path" $NEWTAB "$@" &
132
+ "$browser_path" $NEWTAB "$@" &
133
;;
134
konqueror)
135
case "$(basename "$browser_path")" in
@@ -143,7 +143,7 @@ case "$browser" in
143
eval "$browser_path" newTab "$@"
144
;;
145
*)
146
- nohup "$browser_path" "$@" &
146
+ "$browser_path" "$@" &
147
;;
148
esac
149
;;
@@ -151,6 +151,6 @@ case "$browser" in
151
eval "$browser_path" "$@"
152
;;
153
dillo)
154
- nohup "$browser_path" "$@" &
154
+ "$browser_path" "$@" &
155
;;
156
esac