summaryrefslogtreecommitdiff
path: root/test-dump-cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-12-19 16:05:20 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-19 16:05:20 -0800
commit33e7fefef6b68b300870e04904ad1db48be9b580 (patch)
tree2ec6cf691b2f86aa0830c6f2927ac661bf3db87e /test-dump-cache-tree.c
parentMerge branch 'jk/credentials' (diff)
parentreset: update cache-tree data when appropriate (diff)
downloadtgif-33e7fefef6b68b300870e04904ad1db48be9b580.tar.xz
Merge branch 'tr/cache-tree'
* tr/cache-tree: reset: update cache-tree data when appropriate commit: write cache-tree data when writing index anyway Refactor cache_tree_update idiom from commit Test the current state of the cache-tree optimization Add test-scrap-cache-tree
Diffstat (limited to 'test-dump-cache-tree.c')
-rw-r--r--test-dump-cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-dump-cache-tree.c b/test-dump-cache-tree.c
index 1f73f1ea7d..e6c292385f 100644
--- a/test-dump-cache-tree.c
+++ b/test-dump-cache-tree.c
@@ -59,6 +59,6 @@ int main(int ac, char **av)
struct cache_tree *another = cache_tree();
if (read_cache() < 0)
die("unable to read index file");
- cache_tree_update(another, active_cache, active_nr, 0, 1);
+ cache_tree_update(another, active_cache, active_nr, 0, 1, 0);
return dump_cache_tree(active_cache_tree, another, "");
}