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 25, 2017, 12:51 UTC
- Message-ID
- <CACsJy8AgAVjCTcvYf_YSiVcZVBr+NNJOomVGy=2Ej4X22=v6eA@mail.gmail.com>
- In-Reply-To
- <CACpkpxk4X+hvmWR_ohHaKpJiiJe5pdZYcdRYjZqk=Ae0416w2g@mail.gmail.com>
On Tue, May 23, 2017 at 5:52 AM, Manish Goregaokar <manishearth@gmail.com> wrote:
> What work is remaining for prune-in-worktree? Link to the relevant discussions? > > I might be able to take it over the finish line. (No guarantees)
The finish line should be pretty close. I've addressed Michael's other comments except [1]. I pushed what I have done here [2]. The "wip" commit was what I proposed to Michael and I believe he had a better way of doing it I think I had a look at the merge iterator once before writing mine, but maybe I didn't look close enough to see it as reusable in this use case.
[1] http://public-inbox.org/git/%3C00720e90-ed85-e8d8-a2e4-f42f93a33d33@alum.mit.edu%3E/#r [2] https://github.com/pclouds/git/commits/prune-in-worktrees-2
-- Duy