Re: git-credential-cache--daemon quits on SIGHUP, can we change it to ignore instead?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 27, 2015, 19:04 UTC
- Message-ID
- <xmqqk2q8p1yn.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20151027184151.GA12717@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> So I dunno. I think it would be reasonable to provide a config option to > tell the cache-daemon to just ignore SIGHUP (or alternatively, a general > option to try harder to dissociate itself from the caller). But I'm not > sure I'd agree with making it the default. I'd want to know if anybody > is actually _using_ the SIGHUP-exits-daemon feature. Clearly neither of > us is, but I wouldn't be surprised if other setups are.
That also is a very good summary of what I think. I agree it is a good thing to have an option between "keep the die-on-HUP for those who have a working set-up that rely on it" and "daemonize fully and require the user to explicitly kill it with 'credential-cache exit'".
Thanks.