From: Junio C Hamano Date: Tue, 13 Feb 2018 21:39:05 +0000 (-0800) Subject: Merge branch 'ot/mru-on-list' X-Git-Tag: v2.17.0-rc0~131 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/afc8aa3fbf249cfc2f75c7586b9d32f172ab97a1 Merge branch 'ot/mru-on-list' The first step to getting rid of mru API and using the doubly-linked list API directly instead. * ot/mru-on-list: mru: use double-linked list from list.h --- afc8aa3fbf249cfc2f75c7586b9d32f172ab97a1 diff --cc builtin/pack-objects.c index 6c71552cdf,ba812349e0..0c3d03de48 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@@ -1009,10 -995,10 +1009,10 @@@ static int want_object_in_pack(const st struct packed_git **found_pack, off_t *found_offset) { - struct mru_entry *entry; int want; + struct list_head *pos; - if (!exclude && local && has_loose_object_nonlocal(sha1)) + if (!exclude && local && has_loose_object_nonlocal(oid->hash)) return 0; /*