summaryrefslogtreecommitdiff
path: root/test-dump-cache-tree.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-16 09:36:46 +0700
committerJunio C Hamano <gitster@pobox.com>2012-02-07 16:35:43 -0800
commite859c69b26528a55bd64f4eee2ed06fad999d862 (patch)
treed2509c83b038e0e7233e3ee0cc01a17c7e7c7258 /test-dump-cache-tree.c
parent828ea97de486c1693d6e4f2c7347acb50235a85d (diff)
downloadgit-e859c69b26528a55bd64f4eee2ed06fad999d862.tar.gz
cache-tree: update API to take abitrary flagsnd/cache-tree-api-refactor
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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, "");
}