diff options
author | Paul Sowden <paul@idontsmoke.co.uk> | 2008-11-19 23:27:36 -0800 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-12-15 14:12:04 -0500 |
commit | 9e14356d12226cb140b0e070bd079468b4ab599b (patch) | |
tree | e0520e90acb8af1f0efd62cbdbce7061be702d51 /test/git/test_commit.py | |
parent | 5bb812243dd1815651281a54c8191fc8e2bc2d82 (diff) | |
download | gitpython-9e14356d12226cb140b0e070bd079468b4ab599b.tar.gz |
add a path parameter to most commit methods
The path parameter allows you to specify a path to constrain queries by. This changes potentially breaks backwards compatibility for the Repo.commits and Repo.commits_since methods as it moves the positional arguments.
(cherry picked from commit cc8a20e78da4864060bd0c9279633009bc10d871)
Diffstat (limited to 'test/git/test_commit.py')
-rw-r--r-- | test/git/test_commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_commit.py b/test/git/test_commit.py index df9ea039..f6e34dac 100644 --- a/test/git/test_commit.py +++ b/test/git/test_commit.py @@ -22,7 +22,7 @@ class TestCommit(object): assert_equal("tom@mojombo.com", commit.author.email) assert_true(git.called) - assert_equal(git.call_args, (('rev_list', '4c8124ffcf4039d292442eeccabdeca5af5c5017', '--'), {'pretty': 'raw', 'max_count': 1})) + assert_equal(git.call_args, (('rev_list', '4c8124ffcf4039d292442eeccabdeca5af5c5017', '--', ''), {'pretty': 'raw', 'max_count': 1})) @patch_object(Git, '_call_process') def test_id_abbrev(self, git): |