Re: [PATCH v3 2/6] notes: replace pseudorefs with real refs
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Jul 29, 2015, 01:23 UTC
- Message-ID
- <CA+P7+xrfr7S-Xc3eQeg2bMY3mkPA5sjGWsozv3MwQhAA=ENkhg@mail.gmail.com>
- In-Reply-To
- <55B824BD.8000003@alum.mit.edu>
On Tue, Jul 28, 2015 at 5:56 PM, Michael Haggerty <mhagger@alum.mit.edu> wrote:
Show 18 quoted lines
> 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 >
That seems far more flexible and robust to me.
Regards, Jake