aboutsummaryrefslogtreecommitdiffstats
path: root/cache-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'cache-tree.c')
-rw-r--r--cache-tree.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cache-tree.c b/cache-tree.c
index c3c206427c..490a25adf0 100644
--- a/cache-tree.c
+++ b/cache-tree.c
@@ -655,11 +655,6 @@ out:
return ret;
}
-int write_cache_as_tree(struct object_id *oid, int flags, const char *prefix)
-{
- return write_index_as_tree(oid, &the_index, get_index_file(), flags, prefix);
-}
-
static void prime_cache_tree_rec(struct cache_tree *it, struct tree *tree)
{
struct tree_desc desc;
@@ -727,13 +722,6 @@ int cache_tree_matches_traversal(struct cache_tree *root,
return 0;
}
-int update_main_cache_tree(int flags)
-{
- if (!the_index.cache_tree)
- the_index.cache_tree = cache_tree();
- return cache_tree_update(&the_index, flags);
-}
-
static void verify_one(struct index_state *istate,
struct cache_tree *it,
struct strbuf *path)