diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-15 14:11:34 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-15 14:46:05 +0200 |
commit | 9ce1193c851e98293a237ad3d2d87725c501e89f (patch) | |
tree | bdac0e4a917ca3c1b21eb580402a2854fcf33692 /test/git/test_performance.py | |
parent | 2da2b90e6930023ec5739ae0b714bbdb30874583 (diff) | |
download | gitpython-9ce1193c851e98293a237ad3d2d87725c501e89f.tar.gz |
Added Commit.iter_parents to iterate all parents
Renamed Commit.commits to iter_commits
repo: assured proper use of the terms revision ( rev ) and reference ( ref )
Diffstat (limited to 'test/git/test_performance.py')
-rw-r--r-- | test/git/test_performance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_performance.py b/test/git/test_performance.py index 96f13a2e..77567515 100644 --- a/test/git/test_performance.py +++ b/test/git/test_performance.py @@ -21,7 +21,7 @@ class TestPerformance(object): # return quite a lot of commits, we just take one and hence abort the operation st = time() - for c in self.repo.commits(): + for c in self.repo.iter_commits('0.1.6'): num_commits += 1 c.author c.authored_date |