Re: [PATCH 1/3] reflog: libify delete reflog function and helpers
From: John Cai <hidden>
Date: 2022-02-23 19:50:15
Hi Taylor, On 20 Feb 2022, at 20:50, Taylor Blau wrote:
On Sun, Feb 20, 2022 at 08:43:14PM -0500, John Cai wrote:quoted
quoted
One question that I had which I don't see answered already is what the plan is for existing reflog-related functions that live in refs.h. Should or will those functions be moved to the new reflog-specific header, too?Thanks for bringing ths up! Maybe this cleanup can be included in a separate patch series since this one is mainly about getting rid of the shell-out in stash.c. What do you think?Yeah; I think that's fine. We don't need to get all reflog-related functions moved into reflog.h in the first series, so I think it's fine to move things as you discover them. I was just wondering whether it was something you planned to do at some point (as part of this series, or a future one).
Yes I will open a new series for this. I've been looking through refs.h, and as you alluded to there are a number of reflog related functions. But, they also relate to refs. I'm not sure which ones should go into reflog.h versus staying in refs.h. What are your thoughts?
Thanks, Taylor
Thanks! John