Skip to content

Commit aa1a709

Browse files
committed
fix: max_count is not needed
1 parent c3f0ab1 commit aa1a709

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sphinxnotes/recentupdate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_git_revisions(
7272
) -> list[Revision]:
7373
revs: list[Revision] = []
7474

75-
for cur in repo.iter_commits(paths=path, max_count=count + 1):
75+
for cur in repo.iter_commits(paths=path):
7676
matches = [x in cur.message for x in env.config.recentupdate_exclude_commit]
7777
if any(matches):
7878
logger.debug(

0 commit comments

Comments
 (0)