Skip to content

Commit f5ec638

Browse files
author
Eric Brunson
committed
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
1 parent f2df73b commit f5ec638

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git/test/test_git.py

+2
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,5 @@ def test_single_char_git_options_are_passed_to_git(self):
119119
output_value = self.git(c='user.name={}'.format(input_value)).config('--get', 'user.name')
120120
self.assertEquals(input_value, output_value)
121121

122+
def test_change_to_transform_kwargs_does_not_break_command_options(self):
123+
self.git.log(n=1)

0 commit comments

Comments
 (0)