builtin/index-pack.c: write reverse indexes
commite37d0b8730b67b83c3a7cc20ed3a45cf7f0aa7ed
authorTaylor Blau <me@ttaylorr.com>
Mon, 25 Jan 2021 23:37:26 +0000 (25 18:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2021 02:32:43 +0000 (25 18:32 -0800)
tree1fef4cdde782e62212d3d7ed94855bfa676f1894
parent84d544943c27a1540826730b6a8f588200c65fe6
builtin/index-pack.c: write reverse indexes

Teach 'git index-pack' to optionally write and verify reverse index with
'--[no-]rev-index', as well as respecting the 'pack.writeReverseIndex'
configuration option.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-index-pack.txt
builtin/index-pack.c
t/t5325-reverse-index.sh [new file with mode: 0755]