Re: [PATCH v2 1/2] refs: Add for_each_worktree_ref for iterating over all worktree HEADs
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- May 22, 2017, 11:17 UTC
- Message-ID
- <CACsJy8CN0ZvWD6v2vkK3Lbt7xgrMwCjFKT6Nx7HtwZiEzmowpw@mail.gmail.com>
- In-Reply-To
- <xmqqy3trstup.fsf@gitster.mtv.corp.google.com>
On Sat, May 20, 2017 at 5:30 PM, Junio C Hamano <gitster@pobox.com> wrote:
> By the way, doesn't nd/prune-in-worktree topic that has been cooking > in 'pu' supersede this change? It not just protects the commit at > the tip of HEAD in each worktree, it also makes sure the ones in > HEAD's reflog are not prematurely pruned.
You have probably noticed I have stayed silent for a long time (and probably will continue). But yes nd/prune-in-worktree should fix this. Unfortunately I will not be able to fix it up (I think Michael responded on my last question about the proper way to fix files_for_each_ref). So anyone feel free to pick that series up and fix it (or drop it). For now, pretend that I'm kidnapped by aliens.
-- Duy