Clarify FakeGitRepository reset with truncate+pop instead of loop
Richard Feldman
created
Replace the obscure pop loop with truncate+pop to make the
intent explicit: keep entries up to the target, then pop the
target to use its contents. Identical behavior, clearer code.