Re: [PATCH 4/6] commit-graph: consolidate compare_commits_by_gen
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Jul 28, 2020, 16:03 UTC
- 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:
Show 13 quoted lines
> From: Abhishek Kumar <abhishekkumar8222@gmail.com> > > 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 <abhishekkumar8222@gmail.com> > --- > 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 <me@ttaylorr.com>
Thanks, Taylor