commit-graph: don't peek into `struct lock_file`