Re: git-credential-cache--daemon quits on SIGHUP, can we change it to ignore instead?
- From
Noam Postavsky <npostavs@users.sourceforge.net>
- Date
- Oct 24, 2015, 21:47 UTC
- Message-ID
- <CAM-tV-9sNgHncsWRPh36tEY3YFORUJBA-Q6W5R=mvX_KhSmWEQ@mail.gmail.com>
- In-Reply-To
- <CAM-tV-8VXtB5uRgqP9dFpww6AaLzasPV46tCiquz=nz=ksBNng@mail.gmail.com>
On Tue, Oct 20, 2015 at 10:35 PM, Noam Postavsky <npostavs@users.sourceforge.net> wrote:
Show 16 quoted lines
> On Sun, Oct 18, 2015 at 1:58 PM, Junio C Hamano <gitster@pobox.com> wrote: >> I cannot speak for the person who was primarily responsible for >> designing this behaviour, but I happen to agree with the current >> behaviour in the situation where it was designed to be used. Upon >> the first use in your session, the "daemon" is auto-spawned, you can >> keep talking with that same instance during your session, and you do >> not have to do anything special to shut it down when you log out. >> Isn't that what happens here? > > After looking at this some more, I've discovered this is NOT what > actually happens here. If I "git push" from a shell and then log out > and log in again, another "git push" does NOT ask me for a password. > In other words, the daemon is NOT shut down automatically when I log > out. Given that, does it make sense to change the daemon to ignore > SIGHUP, or is there some way to change it so that it does exit on > logout?
ping?