summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e0c290)
raw | patch | inline | side by side (parent: 2e0c290)
author | Dmitry Potapov <dpotapov@gmail.com> | |
Sun, 10 Feb 2008 07:22:22 +0000 (23:22 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 Feb 2008 07:22:28 +0000 (23:22 -0800) |
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>
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>
git-web--browse.sh | patch | blob | history |
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 8ed489d8827f974b9a11ca5789a9fe3df9c9866b..2c51f361d17064ef9daeb6168bef9adf91cc0e4b 100755 (executable)
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
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
eval "$browser_path" newTab "$@"
;;
*)
- nohup "$browser_path" "$@" &
+ "$browser_path" "$@" &
;;
esac
;;
eval "$browser_path" "$@"
;;
dillo)
- nohup "$browser_path" "$@" &
+ "$browser_path" "$@" &
;;
esac