Improve Git packfile reuse
Problem to solve
Packfile reuse decreases CPU, and disc IO when cloning or fetching large amounts of data, but it's hard to know if it was used.
Furthermore, Peff points out the initial implementation is not ideal, and provided a patch that GitHub has been running for a long time.
Upstream the patchfile provided by Peff to:
- add output
- improve patckfile reuse