[Patchew-devel] [PATCH] testing: fix recursive checkout

Paolo Bonzini pbonzini at redhat.com
Sun Jan 13 14:13:29 UTC 2019


git_clone_repo was erroneously passed True for "checkout" rather than
"recursive".

Fixes: fedc0d05686a61354b18dab781d3fef0cc66ccd7
Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
---
 patchew-cli | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchew-cli b/patchew-cli
index a66edb9..7e63e95 100755
--- a/patchew-cli
+++ b/patchew-cli
@@ -528,7 +528,7 @@ class TesterCommand(SubCommand):
         is_timeout = False
         try:
             clone = os.path.join(wd, "src")
-            git_clone_repo(clone, r["repo"], r["head"], logf, True)
+            git_clone_repo(clone, r["repo"], r["head"], logf, recursive=True)
             base = r["base"]
             if base:
                 subprocess.check_call(["git", "branch", "base", base],
-- 
2.20.1




More information about the Patchew-devel mailing list