diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-20 03:58:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-20 04:16:41 -0700 |
commit | b9d37a5420446d0db2dc0dc5458a5e50656a4852 (patch) | |
tree | 1544417a886e6fd46ea5f786c8ac74744719ba56 /cache-tree.h | |
parent | 8cc21ce78c2f3781024117047c0650861f890213 (diff) | |
download | git-b9d37a5420446d0db2dc0dc5458a5e50656a4852.tar.gz |
Move prime_cache_tree() to cache-tree.c
The interface to build cache-tree belongs there.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.h')
-rw-r--r-- | cache-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cache-tree.h b/cache-tree.h index cf8b790874..e958835236 100644 --- a/cache-tree.h +++ b/cache-tree.h @@ -1,6 +1,8 @@ #ifndef CACHE_TREE_H #define CACHE_TREE_H +#include "tree.h" + struct cache_tree; struct cache_tree_sub { struct cache_tree *cache_tree; @@ -33,4 +35,6 @@ int cache_tree_update(struct cache_tree *, struct cache_entry **, int, int, int) #define WRITE_TREE_PREFIX_ERROR (-3) int write_cache_as_tree(unsigned char *sha1, int missing_ok, const char *prefix); +void prime_cache_tree(struct cache_tree **, struct tree *); + #endif |