diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-01-16 03:36:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-08 01:35:43 +0100 |
commit | e859c69b26528a55bd64f4eee2ed06fad999d862 (patch) | |
tree | d2509c83b038e0e7233e3ee0cc01a17c7e7c7258 /test-dump-cache-tree.c | |
parent | Git 1.7.9 (diff) | |
download | git-e859c69b26528a55bd64f4eee2ed06fad999d862.tar.xz git-e859c69b26528a55bd64f4eee2ed06fad999d862.zip |
cache-tree: update API to take abitrary flags
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.c | 2 |
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, ""); } |