pub fn lock_state(gd: &Path) -> Lock
Look at index.lock in gd: three looks 150 ms apart, all of them with no holder and the same file, before it counts as stale.
index.lock
gd