Re: [PATCH] gc: run pre-detach operations under lock
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 12, 2017, 21:10 UTC
- Message-ID
- <xmqq8tjt1hw1.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170712165817.xcq4we5ynl3opm37@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> ... And I > really think it's not "a little more work". Even if we decided to keep > the same file and replace the PID in it with the daemonized one, I think > that still isn't quite right. Because we don't do so atomically unless > we take gc.pid.lock again.
Exactly.