Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-06 13:16:17 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-07 09:57:34 +0300
commit94421474e068c2f0a7bef3d658216a0f1e75b906 (patch)
tree8965bbce8f8cf494b996c7878617d9b5ed357590 /reachable.h
parentca4f293fb492efdd2b984b992796b075c30e230d (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>
Diffstat (limited to 'reachable.h')
-rw-r--r--reachable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/reachable.h b/reachable.h
new file mode 100644
index 0000000000..40751810b6
--- /dev/null
+++ b/reachable.h
@@ -0,0 +1,6 @@
+#ifndef REACHEABLE_H
+#define REACHEABLE_H
+
+extern void mark_reachable_objects(struct rev_info *revs, int mark_reflog);
+
+#endif