Skip to content

WIP: POC: Cache info/refs is logAllRefUpdates is enabled

Kamil Trzciński requested to merge cache-info-refs into master

This is proof of concept of info/refs caching based on the proposal from #1631 (comment 162098607).

Enable it locally or globally:

git config core.logallrefupdates always

About this MR

This Proof of Concept:

  1. Might become and be transformed into production-like code,
  2. It shows complexity of the approach proposed in #1631 (closed),
  3. It is build for benchmarking and understanding the proposal,
  4. It does not implement all possible clean-up mechanism nor unit tests yet,
  5. It is to also aid in finding all blank spots,
  6. Based on this proposal we should understand if this direction is the right one, and by using this PoC we can together test that for blank spots which would need coverage.
Edited by Kamil Trzciński

Merge request reports