]> git.ipfire.org Git - thirdparty/git.git/commit - packfile.c
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)
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 <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>
builtin/pack-objects.c
mru.c
mru.h
packfile.c