HomeSoftware Heritage

Improve git hash update behavior

Description

Improve git hash update behavior

Decrease the number of paths to compute to 1 common ancestor (if any):

  • Scan only that directory and rehash with new results (data changed)
  • Update the resulting objects with those new hashes.
  • Update from that directory to the rootdir the existing hashes computation

Details

Provenance
ardumontAuthored on Apr 1 2016, 2:53 PM
ardumontPushed on Apr 1 2016, 5:29 PM
Parents
rDMODcd881639602b: Detect if we need to recompute all from disk anyway (change at the root level…
Branches
Unknown
Tags
Unknown