Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/partial-clone' into next
author
Junio C Hamano
<gitster@pobox.com>
Wed, 28 Mar 2018 19:14:48 +0000
(12:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 28 Mar 2018 19:14:48 +0000
(12:14 -0700)
* jh/partial-clone:
unpack-trees: release oid_array after use in check_updates()
unpack-trees.c
patch
|
blob
|
history
raw
(from parent 1:
144a25f
)
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 31a2cf2d0b5422b6c046da1a5f7600557b75977c..79fd97074ec238714634de1c9e6144accdc710f3 100644
(file)
--- 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];