From: Noam Postavsky Date: Sat, 24 Oct 2015 21:47:03 GMT Subject: Re: git-credential-cache--daemon quits on SIGHUP, can we change it to ignore instead? Message-ID: In-Reply-To: On Tue, Oct 20, 2015 at 10:35 PM, Noam Postavsky wrote: > On Sun, Oct 18, 2015 at 1:58 PM, Junio C Hamano 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?