Add per-file commits index.