On Sat, May 20, 2017 at 5:30 PM, Junio C Hamano <gitster@xxxxxxxxx> 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