Skip to content

Commit f3e78d9

Browse files
committed
Correct doc errors
revA..revB → revA...revB (three instead of two dots) [base.py, line 467](https://github.com/gitpython-developers/GitPython/blob/master/git/repo/base.py#L467) rorepo is a ~~a~~ Repo instance [test_docs.py, line 21](https://github.com/gitpython-developers/GitPython/blob/master/git/test/test_docs.py#L21) closes #314
1 parent 6ee9751 commit f3e78d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def iter_commits(self, rev=None, paths='', **kwargs):
464464
max_count and skip
465465
466466
:note: to receive only commits between two named revisions, use the
467-
"revA..revB" revision specifier
467+
"revA...revB" revision specifier
468468
469469
:return ``git.Commit[]``"""
470470
if rev is None:

git/test/test_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_init_repo_object(self, rw_dir):
1818
from git import Repo
1919
join = os.path.join
2020

21-
# rorepo is a a Repo instance pointing to the git-python repository.
21+
# rorepo is a Repo instance pointing to the git-python repository.
2222
# For all you know, the first argument to Repo is a path to the repository
2323
# you want to work with
2424
repo = Repo(self.rorepo.working_tree_dir)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy