diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-04 16:26:03 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-04 16:26:03 +0100 |
commit | 52bb0046c0bf0e50598c513e43b76d593f2cbbff (patch) | |
tree | a02972d19613131d428c98dec0a1d414b84c5274 /test/git/test_diff.py | |
parent | f41d42ee7e264ce2fc32cea555e5f666fa1b1fe9 (diff) | |
download | gitpython-52bb0046c0bf0e50598c513e43b76d593f2cbbff.tar.gz |
added query for 'M' modified diffs to DiffIndex including test. The latter one was made faster by reducing the amount of permutations to the minimal value
Diffstat (limited to 'test/git/test_diff.py')
-rw-r--r-- | test/git/test_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_diff.py b/test/git/test_diff.py index ead231e5..9335aced 100644 --- a/test/git/test_diff.py +++ b/test/git/test_diff.py @@ -41,7 +41,7 @@ class TestDiff(TestBase): def test_diff_interface(self): # test a few variations of the main diff routine assertion_map = dict() - for i, commit in enumerate(self.rorepo.iter_commits('0.1.6', max_count=10)): + for i, commit in enumerate(self.rorepo.iter_commits('0.1.6', max_count=2)): diff_item = commit if i%2 == 0: diff_item = commit.tree |