summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-01-06 02:16:17 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-06 22:57:34 -0800
commit94421474e068c2f0a7bef3d658216a0f1e75b906 (patch)
tree8965bbce8f8cf494b996c7878617d9b5ed357590 /Makefile
parentbuiltin-prune: separate ref walking from reflog walking. (diff)
downloadtgif-94421474e068c2f0a7bef3d658216a0f1e75b906.tar.xz
Move traversal of reachable objects into a separate library.
This moves major part of builtin-prune into a separate file, reachable.c. It is used to mark the objects that are reachable from refs, and optionally from reflogs. The patch looks very large, but if you look at it with diff -C, which this message is formatted in, most of them are copied lines and there are very little additions. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 180e1e0b94..d8bfb6b878 100644
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,7 @@ LIB_OBJS = \
interpolate.o \
lockfile.o \
object.o pack-check.o patch-delta.o path.o pkt-line.o sideband.o \
+ reachable.o \
quote.o read-cache.o refs.o run-command.o dir.o object-refs.o \
server-info.o setup.o sha1_file.o sha1_name.o strbuf.o \
tag.o tree.o usage.o config.o environment.o ctype.o copy.o \