diff options
author | Eric Brunson <ebrunson@quicinc.com> | 2014-04-23 11:13:54 -0600 |
---|---|---|
committer | Eric Brunson <ebrunson@quicinc.com> | 2014-04-25 09:37:44 -0600 |
commit | f5ec638a77dd1cd38512bc9cf2ebae949e7a8812 (patch) | |
tree | 6ac71ddabb946f0dadb205876ffff650322aa423 /git/test/test_git.py | |
parent | f2df73b317a4e2834037be8b67084bee0b533bfe (diff) | |
download | gitpython-f5ec638a77dd1cd38512bc9cf2ebae949e7a8812.tar.gz |
add git command options
Add __call__ method to Git object to allow
passing git command options to the executable
requires flag to transform_kwargs
add unit tests
Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r-- | git/test/test_git.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py index e39c9575..e67cb92b 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -119,3 +119,5 @@ class TestGit(TestBase): output_value = self.git(c='user.name={}'.format(input_value)).config('--get', 'user.name') self.assertEquals(input_value, output_value) + def test_change_to_transform_kwargs_does_not_break_command_options(self): + self.git.log(n=1) |