From: Junio C Hamano Date: Thu, 20 Jun 2013 18:36:36 GMT Subject: Re: [PATCH v2 04/12] refs: implement simple transactions for the packed-refs file Message-ID: <7vip18vdcb.fsf@alter.siamese.dyndns.org> In-Reply-To: <51C342B7.5050002@alum.mit.edu> Michael Haggerty writes: > On 06/20/2013 07:11 PM, Junio C Hamano wrote: > >> Perhaps I am missing something from the previous discussions, but I >> am having trouble understanding the "main packed ref cache" part of >> the above. "main" as opposed to...? > > "main" as opposed to "submodule". I see. > No, the scenario would be that a git process wants to change a reference > in a submodule directly, as opposed to starting another git process > within the submodule, as I believe is done now. Maybe it's too > far-fetched even to consider... Perhaps. But the "singleton lock because we only handle main packed ref cache" does not prevent us from doing so later, so I think v3 is OK. Thanks.