summaryrefslogtreecommitdiff
path: root/test-dump-cache-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-12 22:42:42 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-12 22:42:42 -0800
commita7844827da8273dcf030b9313bc381da3eac011d (patch)
tree81389bdb7fb1f90d5d4388aa6875f56cc3e0008d /test-dump-cache-tree.c
parent75f49651a1b947e2eadd2c831b30892c0f4565c8 (diff)
parente859c69b26528a55bd64f4eee2ed06fad999d862 (diff)
Merge branch 'nd/cache-tree-api-refactor'
* nd/cache-tree-api-refactor: cache-tree: update API to take abitrary flags
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 e6c292385f..a6ffdf39d5 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, 0);
+ cache_tree_update(another, active_cache, active_nr, WRITE_TREE_DRY_RUN);
return dump_cache_tree(active_cache_tree, another, "");
}