summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/git_python/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git_python/git.py b/lib/git_python/git.py
index 25cd1cce..8711c1fb 100644
--- a/lib/git_python/git.py
+++ b/lib/git_python/git.py
@@ -74,10 +74,10 @@ class Git(MethodMissingMixin):
str
"""
opt_args = self.transform_kwargs(**kwargs)
- ext_args = map(lambda a: (a == '--') and a or "%s" % a, args)
- args = opt_args + ext_args
+ args = opt_args + list(args)
call = ['git-'+dashify(method)]
call.extend(args)
+
stdout_value = self.execute(call)
return stdout_value