From: Christian Couder <chriscool@tuxfamily.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Dmitry Potapov <dpotapov@gmail.com>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] git help -w should not create nohup.out
Date: Fri, 8 Feb 2008 06:37:03 +0100 [thread overview]
Message-ID: <200802080637.04015.chriscool@tuxfamily.org> (raw)
In-Reply-To: <7vhcgkm7yy.fsf@gitster.siamese.dyndns.org>
Le vendredi 8 février 2008, Junio C Hamano a écrit :
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> > Hi,
> >
> > On Fri, 8 Feb 2008, Dmitry Potapov wrote:
> >> git-help--browse uses 'nohup' to launch some browsers.
> >
> > Why?
> >
> > "nohup" should be used to start a program that should persist even
> > after you logged out. I fail to see how this should be sensible for
> > "git help -w". So "off with the head", uh, do away with the "nohup", I
> > say!
>
> True. Christian, what was the reason you added nohup?
I think I was worried about something like this:
1) ssh -Y other_machine
2) git help -w, it opens my browser
3) open many other tabs in the browser
4) exit other_machine, oops my browser with all my tabs is gone
or
1) open my favorite browser and many tabs in it
2) ssh -Y other_machine
3) git help -w, cool it opens a tab in my already opened browser in 1)
4) exit other_machine, oops my browser with all my tabs is gone
I thought it would perhaps help, and it was better to be on the safe side.
But I just tested a little and it seems it doesn't change anything.
Also there are some browser that are very verbose on the SDTOUT or STDERR
(especially konqueror) and I thought the nohup would also help move the
output out of the command line while not discarding it in case it's needed.
But I agree that it's not very often usefull and anyway there are better
ways to deal with it.
So no problem to do away with the "nohup".
Thanks,
Christian.
next prev parent reply other threads:[~2008-02-08 5:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 1:33 [PATCH] git help -w should not create nohup.out Dmitry Potapov
2008-02-08 1:55 ` Johannes Schindelin
2008-02-08 3:40 ` Junio C Hamano
2008-02-08 5:37 ` Christian Couder [this message]
2008-02-08 11:25 ` Dmitry Potapov
2008-02-08 10:33 ` Dmitry Potapov
2008-02-08 20:36 ` [PATCH] remove "nohup" from git-help--browse Dmitry Potapov
2008-02-09 5:53 ` Christian Couder
2008-02-09 20:03 ` Dmitry Potapov
2008-02-10 2:02 ` Junio C Hamano
2008-02-10 2:06 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802080637.04015.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=dpotapov@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).