diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-29 15:39:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-29 15:39:59 -0700 |
commit | c2a499e6c31ed613a606ffdeb5bb74ab41e9a586 (patch) | |
tree | de51b47b2f12cdfe50d90152391b0de51dcdcd19 /unpack-trees.c | |
parent | 03df4959472e7d4b5117bb72ac86e1e2bcf21723 (diff) | |
parent | c7620bd0f35dddf8b8519da6fbf97014f46d0710 (diff) | |
download | git-c2a499e6c31ed613a606ffdeb5bb74ab41e9a586.tar.gz |
Merge branch 'jh/partial-clone'
Hotfix.
* jh/partial-clone:
upload-pack: disable object filtering when disabled by config
unpack-trees: release oid_array after use in check_updates()
Diffstat (limited to 'unpack-trees.c')
-rw-r--r-- | unpack-trees.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unpack-trees.c b/unpack-trees.c index d5685891a5..e73745051e 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -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]; |