From bf1b1b7a29845892bd5b743647577c7a45fd8767 Mon Sep 17 00:00:00 2001 From: Houssam Kherraz Date: Wed, 23 Feb 2022 10:20:19 -0500 Subject: [PATCH] fix iter_commits comment, more in line with iter_items --- git/repo/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/repo/base.py b/git/repo/base.py index 7713c9152..510eb12bf 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -567,8 +567,8 @@ def iter_commits(self, rev: Union[str, Commit, 'SymbolicReference', None] = None If None, the active branch will be used. :param paths: - is an optional path or a list of paths to limit the returned commits to - Commits that do not contain that path or the paths will not be returned. + is an optional path or a list of paths; if set only commits that include the path + or paths will be returned :param kwargs: Arguments to be passed to git-rev-list - common ones are