Expand description
Flag age from git history for fallow flags --retirement.
blame mode runs one git blame --porcelain per file with flag sites and
asks for the lines of those sites only. The oldest commit is a lower bound
on the age of the flag, because a rewrite of the line resets it. pickaxe
mode also runs one git log -S<name> per flag name, which gives the first
commit that added the name. Both modes count days against the
AnalysisClock, so two runs over one commit give the same ages.
Results are cached under the cache directory for the current HEAD. A blame entry is also keyed by the file content, because blame reads the working tree.
Structs§
- Flag
AgeOutcome - What a flag-age measurement did.
- Flag
AgeRequest - Inputs of one flag-age measurement.
- Pickaxe
Progress - Pickaxe progress: flag names read so far, and the flag names to read.
Functions§
- apply_
flag_ ages - Fill the age fields of
rowsfrom git history.