path: root/Makefile
diff options
authorDerrick Stolee <>2018-07-20 16:33:02 (GMT)
committerJunio C Hamano <>2018-07-20 22:38:54 (GMT)
commit5227c385667cadd3b34668329016755181fa98ea (patch)
treec6c414608bd5f050dd837be44444087d5ad20c16 /Makefile
parentdade47c06cf849b0ca180a8e6383b55ea6f75812 (diff)
commit-reach: move walk methods from commit.c
There are several commit walks in the codebase. Group them together into a new commit-reach.c file and corresponding header. After we group these walks into one place, we can reduce duplicate logic by calling equivalent methods. The method declarations in commit.h are not touched by this commit and will be moved in a following commit. Many consumers need to point to commit-reach.h and that would bloat this commit. Signed-off-by: Derrick Stolee <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bb8bd67..59781f4 100644
--- a/Makefile
+++ b/Makefile
@@ -829,6 +829,7 @@ LIB_OBJS += column.o
LIB_OBJS += combine-diff.o
LIB_OBJS += commit.o
LIB_OBJS += commit-graph.o
+LIB_OBJS += commit-reach.o
LIB_OBJS += compat/obstack.o
LIB_OBJS += compat/terminal.o
LIB_OBJS += config.o