fsck: factor out msg_id_info[] lazy initialization code
commita46baac61ebc6a8b187f76bcd49b625e0d4f408e
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 26 May 2018 13:55:23 +0000 (26 15:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2018 05:51:28 +0000 (29 14:51 +0900)
tree2cdd60125492568e59b75e297ce9b45346655ab0
parentfa151dc54dcf7ff32727d5b6fdf78093185ff1cc
fsck: factor out msg_id_info[] lazy initialization code

This array will be used by some other function than parse_msg_id() in
the following commit. Factor out this prep code so it could be called
from that one.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c