From: Junio C Hamano Date: Wed, 12 Jul 2017 21:10:06 GMT Subject: Re: [PATCH] gc: run pre-detach operations under lock Message-ID: In-Reply-To: <20170712165817.xcq4we5ynl3opm37@sigill.intra.peff.net> Jeff King writes: > ... 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.