From: Taylor Blau Date: Tue, 28 Jul 2020 16:03:26 GMT Subject: Re: [PATCH 4/6] commit-graph: consolidate compare_commits_by_gen Message-ID: <20200728160326.GE87373@syl.lan> In-Reply-To: <812fe75fc7252db0b7b6604f84b17dcf7324b922.1595927632.git.gitgitgadget@gmail.com> On Tue, Jul 28, 2020 at 09:13:49AM +0000, Abhishek Kumar via GitGitGadget wrote: > From: Abhishek Kumar > > Comparing commits by generation has been independently defined twice, in > commit-reach and commit. Let's simplify the implementation by moving > compare_commits_by_gen() to commit-graph. > > Signed-off-by: Abhishek Kumar > --- > commit-graph.c | 15 +++++++++++++++ > commit-graph.h | 2 ++ > commit-reach.c | 15 --------------- > commit.c | 9 +++------ > 4 files changed, 20 insertions(+), 21 deletions(-) All looks good to me. Reviewed-by: Taylor Blau Thanks, Taylor