diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-11 14:52:22 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-11 14:52:22 +0900 |
commit | 54bd705a9589d33b155588aa11d3b856f252e83d (patch) | |
tree | 9687e9e746d3d00eaa7b9030b230cb4d463c9929 /fetch-pack.c | |
parent | 95649bc6f5de96a862bc23bde4764dee81532a41 (diff) | |
parent | 9e6fabde82e91366a7fea5a81e795d26bbe7e10d (diff) |
Merge branch 'jt/oidmap'
Introduce a new "oidmap" API and rewrite oidset to use it.
* jt/oidmap:
oidmap: map with OID as key
Diffstat (limited to 'fetch-pack.c')
-rw-r--r-- | fetch-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-pack.c b/fetch-pack.c index 105506e9aa..008b25d3db 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -611,7 +611,7 @@ static int tip_oids_contain(struct oidset *tip_oids, * add to "newlist" between calls, the additions will always be for * oids that are already in the set. */ - if (!tip_oids->map.tablesize) { + if (!tip_oids->map.map.tablesize) { add_refs_to_oidset(tip_oids, unmatched); add_refs_to_oidset(tip_oids, newlist); } |