multi-pack-index: read packfile list
authorDerrick Stolee <stolee@gmail.com>
Thu, 12 Jul 2018 19:39:26 +0000 (15:39 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jul 2018 18:27:28 +0000 (11:27 -0700)
commit396f257018a6031c4eb0803d4693441ad8a9fd10
tree47b973ffeb95cc37dd760f83506dcf732d929aaa
parent9208e318f548d28c677203a222f02a31a15c5d0e
multi-pack-index: read packfile list

When constructing a multi-pack-index file for a given object directory,
read the files within the enclosed pack directory and find matches that
end with ".idx" and find the correct paired packfile using
add_packed_git().

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx.c
t/t5319-multi-pack-index.sh