builtin/pack-objects.c: respect 'pack.writeReverseIndex'
commitc97733435aae270bbef9bd4d179edca678774375
authorTaylor Blau <me@ttaylorr.com>
Mon, 25 Jan 2021 23:37:30 +0000 (25 18:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2021 02:32:43 +0000 (25 18:32 -0800)
treebd4654fd79d6c754db87133c598fd32051114677
parente37d0b8730b67b83c3a7cc20ed3a45cf7f0aa7ed
builtin/pack-objects.c: respect 'pack.writeReverseIndex'

Now that we have an implementation that can write the new reverse index
format, enable writing a .rev file in 'git pack-objects' by consulting
the pack.writeReverseIndex configuration variable.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
t/t5325-reverse-index.sh