Re: [PATCH v3 2/6] notes: replace pseudorefs with real refs
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Jul 29, 2015, 00:56 UTC
- Message-ID
- <55B824BD.8000003@alum.mit.edu>
- In-Reply-To
- <xmqqlhdzby5o.fsf@gitster.dls.corp.google.com>
Johan Herland <johan@herland.net> writes:
> Here is where we start to differ. I would say that starting a notes > merge is completely unrelated to your worktree. Consider this:
It sounds like what a notes merge really wants is a new linked worktree that has branch refs/notes/foo checked out:
* This would allow multiple notes merges to take place at the same time provided they target different merge references.
* This would prevent multiple notes merges to the same notes reference at the same time by the same mechanism that prevents the same branch from being checked out in two linked worktrees at the same time.
It's just a thought; I have no idea whether it is practical...
Michael
-- Michael Haggerty mhagger@alum.mit.edu