Re: [PATCH] checkout: do not switch branch during a rebase unless -f is given
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 9, 2010, 14:38 UTC
- Message-ID
- <20101109143816.GC18960@burratino>
- In-Reply-To
- <AANLkTi=VtP=T7PwY-PcZ9sHy0FjU8Nj=Fe1eWc44Q+OE@mail.gmail.com>
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"?