Merge branch 'ab/reverse-midx-optim' into maint
commit79c887d29d8cd780ab19b844b031884840f25a02
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Oct 2021 20:51:45 +0000 (12 13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Oct 2021 20:51:45 +0000 (12 13:51 -0700)
tree189ecf20b78db2ced6ed28493fc266720c36b041
parent62a7648a5e0968c25bd7a0b9ff9103f920c19a8d
parent8fe8bae9d28e2b02ceb482ab89ea88bb20556f1d
Merge branch 'ab/reverse-midx-optim' into maint

The code that optionally creates the *.rev reverse index file has
been optimized to avoid needless computation when it is not writing
the file out.

* ab/reverse-midx-optim:
  pack-write: skip *.rev work when not writing *.rev
pack-write.c