Don't do per-commit loop when there are no commits