diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-09 13:40:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-09 13:40:32 -0700 |
commit | 6d5c16a90ccf5724fb885d4b8af295c640da33a4 (patch) | |
tree | df8b5876c2667924dbf78515091b2ec543ad597d /test-dump-cache-tree.c | |
parent | Merge branch 'cb/maint-t5541-make-server-port-portable' into maint-1.7.8 (diff) | |
parent | t0090: be prepared that 'wc -l' writes leading blanks (diff) | |
download | tgif-6d5c16a90ccf5724fb885d4b8af295c640da33a4.tar.xz |
Merge branch 'tr/cache-tree' into maint-1.7.8
* tr/cache-tree:
t0090: be prepared that 'wc -l' writes leading blanks
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.c | 2 |
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, ""); } |