Bläddra i källkod

Pass the <errstream> parameter through from porcelain.clone() to porcelain.fetch().

grun 6 år sedan
förälder
incheckning
db5525077e
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      dulwich/porcelain.py

+ 2 - 1
dulwich/porcelain.py

@@ -326,7 +326,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, message=reflog_message)
+        fetch_result = fetch(
+            r, source, origin, errstream=errstream, message=reflog_message)
         target_config = r.get_config()
         if not isinstance(source, bytes):
             source = source.encode(DEFAULT_ENCODING)