Fix off-by-one error in get_log
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht/git.py
M gitsrht/git.py => gitsrht/git.py +1 -1
@@ 53,7 53,7 @@ def get_log(git_repo, commit, path="", commits_per_page=20, until=None): if until is not None and commit == until: break - elif len(commits) >= commits_per_page + 1: + elif len(commits) >= commits_per_page: break return commits