diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-27 16:21:54 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-27 16:21:54 -0700 |
commit | 2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab (patch) | |
tree | f3f43e014fa8a1c0ee5829eec216e85b831f15a3 /cache-tree.h | |
parent | 7927a55d5bde25702dca4fb1a7d6eb7ef61110ba (diff) | |
download | git-2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab.tar.gz |
cache_tree_update: give an option to update cache-tree only.
When the extra "dryrun" parameter is true, cache_tree_update()
recomputes the invalid entry but does not actually creates
new tree object.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache-tree.h')
-rw-r--r-- | cache-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.h b/cache-tree.h index 5d824df2ec..72c64801f5 100644 --- a/cache-tree.h +++ b/cache-tree.h @@ -26,6 +26,6 @@ void *cache_tree_write(struct cache_tree *root, unsigned long *size_p); struct cache_tree *cache_tree_read(const char *buffer, unsigned long size); int cache_tree_fully_valid(struct cache_tree *); -int cache_tree_update(struct cache_tree *, struct cache_entry **, int, int); +int cache_tree_update(struct cache_tree *, struct cache_entry **, int, int, int); #endif |