Merge branch 'tb/repack-simplify'
authorJunio C Hamano <gitster@pobox.com>
Thu, 3 Dec 2020 08:18:06 +0000 (00:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Dec 2020 08:18:06 +0000 (00:18 -0800)
commit39d38a5c5f51ff2f4685bdc9f1af6f4cb0dcd33c
treefdfdda0a6306b9166e8c7996fd9acbdca5ac78d6
parentc692e1b6731da33ebfc2dfd72476057cd16aceb9
parent2fcb03b52dffdd48a6aff4c682708c37d1f471f4
Merge branch 'tb/repack-simplify'

Simplify the logic to deal with a repack operation that ended up
creating the same packfile.

* tb/repack-simplify:
  builtin/repack.c: don't move existing packs out of the way
  builtin/repack.c: keep track of what pack-objects wrote
  repack: make "exts" array available outside cmd_repack()