mru: use double-linked list from list.h
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>
Sat, 30 Sep 2017 17:51:01 +0000 (17:51 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Oct 2017 08:30:26 +0000 (17:30 +0900)
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 <christian.couder@gmail.com>
Mentored by: Jeff King <peff@peff.net>
Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found