Code

Move traversal of reachable objects into a separate library.
authorJunio C Hamano <junkio@cox.net>
Sat, 6 Jan 2007 10:16:17 +0000 (02:16 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:57:34 +0000 (22:57 -0800)
commit94421474e068c2f0a7bef3d658216a0f1e75b906
tree8965bbce8f8cf494b996c7878617d9b5ed357590
parentca4f293fb492efdd2b984b992796b075c30e230d
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>
Makefile
builtin-prune.c
reachable.c [new file with mode: 0644]
reachable.h [new file with mode: 0644]