File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ def custom_environment(self, **kwargs):
700
700
finally :
701
701
self .update_environment (** old_env )
702
702
703
- def transform_kwargs (self , split_single_char_options = False , ** kwargs ):
703
+ def transform_kwargs (self , split_single_char_options = True , ** kwargs ):
704
704
"""Transforms Python style kwargs into git command line options."""
705
705
args = list ()
706
706
for k , v in kwargs .items ():
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def test_it_raises_errors(self):
65
65
66
66
def test_it_transforms_kwargs_into_git_command_arguments (self ):
67
67
assert_equal (["-s" ], self .git .transform_kwargs (** {'s' : True }))
68
- assert_equal (["-s5 " ], self .git .transform_kwargs (** {'s' : 5 }))
68
+ assert_equal (["-s" , "5 " ], self .git .transform_kwargs (** {'s' : 5 }))
69
69
70
70
assert_equal (["--max-count" ], self .git .transform_kwargs (** {'max_count' : True }))
71
71
assert_equal (["--max-count=5" ], self .git .transform_kwargs (** {'max_count' : 5 }))
You can’t perform that action at this time.
0 commit comments