author | Junio C Hamano <junkio@cox.net> | |
Sat, 6 Jan 2007 10:16:17 +0000 (02:16 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 7 Jan 2007 06:57:34 +0000 (22:57 -0800) | ||
commit | 94421474e068c2f0a7bef3d658216a0f1e75b906 | |
tree | 8965bbce8f8cf494b996c7878617d9b5ed357590 | tree | snapshot |
parent | ca4f293fb492efdd2b984b992796b075c30e230d | commit | diff |
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>
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 | diff | blob | history | |
builtin-prune.c | diff | blob | history | |
reachable.c | [new file with mode: 0644] | blob |
reachable.h | [new file with mode: 0644] | blob |