mru: use double-linked list from list.h
authorOlga Telezhnaya <redacted>
Sat, 30 Sep 2017 17:51:01 +0000 (17:51 +0000)
committerJunio C Hamano <redacted>
Sun, 1 Oct 2017 08:30:26 +0000 (17:30 +0900)
commit8865859dfc346c61f0e75fa429c5d307bd27368c
tree81b8f55f9ca4f3e4c523a5f2072feccf792e176e
parent20fed7cad40ed0b96232feb828129e3a2ee9860d
mru: use double-linked list from list.h

Simplify mru.[ch] and related code by reusing the double-linked list
implementation from list.h instead of a custom one.
This commit is an intermediate step. Our final goal is to get rid of
mru.[ch] at all and inline all logic.

Mentored-by: Christian Couder <redacted>
Mentored by: Jeff King <redacted>
Signed-off-by: Olga Telezhnaia <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pack-objects.c
mru.c
mru.h
packfile.c
git clone https://git.99rst.org/PROJECT