You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The Commit object" section in "GitPython Tutorial" of the documentation mentions iter_commits() class method, which does not exist, instead of correct name iter_items():
fifty_first_commits=list(repo.iter_commits('master', max_count=50))
assertlen(fifty_first_commits) ==50# this will return commits 21-30 from the commit list as traversed backwards masterten_commits_past_twenty=list(repo.iter_commits('master', max_count=10, skip=20))
assertlen(ten_commits_past_twenty) ==10assertfifty_first_commits[20:30] ==ten_commits_past_twenty
The text was updated successfully, but these errors were encountered:
"The Commit object" section in "GitPython Tutorial" of the documentation mentions
iter_commits()
class method, which does not exist, instead of correct nameiter_items()
:The text was updated successfully, but these errors were encountered: