]> git.ipfire.org Git - thirdparty/git.git/blobdiff - unpack-trees.c
t3701-add-interactive: tighten the check of trace output
[thirdparty/git.git] / unpack-trees.c
index d5685891a560d2f1a06c937043ceda2c8b9fd9db..e73745051e505934b44be216b1d80a6c053c96de 100644 (file)
@@ -391,6 +391,7 @@ static int check_updates(struct unpack_trees_options *o)
                        fetch_objects(repository_format_partial_clone,
                                      &to_fetch);
                fetch_if_missing = fetch_if_missing_store;
+               oid_array_clear(&to_fetch);
        }
        for (i = 0; i < index->cache_nr; i++) {
                struct cache_entry *ce = index->cache[i];