Browse Source

Merge fix for custom auth parameters for dulwich.porcelain.clone.

Jelmer Vernooij 6 years ago
parent
commit
e924e8bdfb
2 changed files with 7 additions and 1 deletions
  1. 5 0
      NEWS
  2. 2 1
      dulwich/porcelain.py

+ 5 - 0
NEWS

@@ -1,5 +1,10 @@
 0.19.6	UNRELEASED
 
+ BUG FIXES
+
+  * Fix support for custom transport arguments in ``dulwich.porcelain.clone``.
+    (Semyon Slepov)
+
 0.19.5	2018-08-08
 
  IMPROVEMENTS

+ 2 - 1
dulwich/porcelain.py

@@ -327,7 +327,8 @@ def clone(source, target=None, bare=False, checkout=None,
     reflog_message = b'clone: from ' + source.encode('utf-8')
     try:
         fetch_result = fetch(
-            r, source, origin, errstream=errstream, message=reflog_message)
+            r, source, origin, errstream=errstream, message=reflog_message,
+            **kwargs)
         target_config = r.get_config()
         if not isinstance(source, bytes):
             source = source.encode(DEFAULT_ENCODING)