From: Jonathan Nieder Date: Tue, 09 Nov 2010 14:38:16 GMT Subject: Re: [PATCH] checkout: do not switch branch during a rebase unless -f is given Message-ID: <20101109143816.GC18960@burratino> In-Reply-To: Nguyen Thai Ngoc Duy wrote: > I don't know. If we can place the branch lock inside > .git/rebase-merge, then yes removing that directory will also remove > the lock. But how does git find the locks if they are everywhere in > .git? Could the lock signature say something to the effect that "this lock is only valid against commands that don't declare this signature, and only so long as .git/rebase-merge/ref has such-and-such content"?