summaryrefslogtreecommitdiff
path: root/cache-tree.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-27 23:21:54 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-27 23:21:54 (GMT)
commit2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab (patch)
treef3f43e014fa8a1c0ee5829eec216e85b831f15a3 /cache-tree.h
parent7927a55d5bde25702dca4fb1a7d6eb7ef61110ba (diff)
downloadgit-2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab.zip
git-2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab.tar.gz
git-2956dd3bd7bd512aa8fce7e55d5eec1e56df99ab.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.h b/cache-tree.h
index 5d824df..72c6480 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