From: Junio C Hamano Date: Fri, 14 Apr 2017 01:40:45 GMT Subject: Re: [PATCH v4 0/5] Kill manual ref parsing code in worktree.c Message-ID: In-Reply-To: <20170404102123.25315-1-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > v4 adds a new patch, 2/5, which makes the hashmap related functions in > refs.c generic, so I could add a new map for worktree ref stores and > not abuse submodule hashmap. > > I mentioned about moving these hashmap back to submodule.c and > worktree.c where it can map more than just ref stores (in worktree > case, we can cache 'struct worktree', for example). But I'm not doing > it now to keep things small. > > The commit message in 1/5 is rephrased a bit, hopefully clearer. Michael, does this look good to replace what has been queued? I did not spot any discussion on this topic after v4 when I skimmed the backlog messages, so I am hoping that I can pick this up without having to worry about seeing another reroll immediately after that (in which case I'd have been better off if I tended other topics in flight in the meantime). Thanks, both.