Code monitors: pass hook to addCodeMonitorHook
Created by: camdencheek
This passes a hook into addCodeMonitorHook so that I can pass a different hook in for snapshotting repo state. This is how I think I'm going to fix the issue with new repos skipping their first commits.
Test plan
Semantics-preserving and covered by unit tests.