summaryrefslogtreecommitdiff
path: root/rev-cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-14 20:08:55 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-15 19:46:31 (GMT)
commit0f56479d7325083953be36b8c8ee90380ff27f92 (patch)
tree6fcc320ce76ff96dab81dad33ea4e1f97dfd8194 /rev-cache.h
parent53764ee43defda7109fe547f471eac54c4e8b3d6 (diff)
downloadgit-0f56479d7325083953be36b8c8ee90380ff27f92.zip
git-0f56479d7325083953be36b8c8ee90380ff27f92.tar.gz
git-0f56479d7325083953be36b8c8ee90380ff27f92.tar.bz2
Retire info/rev-cache
It was one of those things that were well intentioned but did not turn out to be useful in practice. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rev-cache.h')
-rw-r--r--rev-cache.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/rev-cache.h b/rev-cache.h
deleted file mode 100644
index b238ac6..0000000
--- a/rev-cache.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef REV_CACHE_H
-#define REV_CACHE_H
-
-extern struct rev_cache {
- struct rev_cache *head_list;
- struct rev_list_elem *children;
- struct rev_list_elem *parents;
- struct rev_list_elem *parents_tail;
- unsigned short num_parents;
- unsigned short num_children;
- unsigned int written : 1;
- unsigned int parsed : 1;
- unsigned int work : 30;
- void *work_ptr;
- unsigned char sha1[20];
-} **rev_cache;
-extern int nr_revs, alloc_revs;
-
-struct rev_list_elem {
- struct rev_list_elem *next;
- struct rev_cache *ri;
-};
-
-extern int find_rev_cache(const unsigned char *);
-extern int read_rev_cache(const char *, FILE *, int);
-extern int record_rev_cache(const unsigned char *, FILE *);
-extern void write_rev_cache(const char *new, const char *old);
-
-#endif