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

Philippe Mathieu-Daudé philmd at redhat.com
Wed Jan 16 15:43:23 UTC 2019


On 1/13/19 3:13 PM, Paolo Bonzini wrote:
> git_clone_repo was erroneously passed True for "checkout" rather than
> "recursive".
> 
> Fixes: fedc0d05686a61354b18dab781d3fef0cc66ccd7
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd 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],
> 




More information about the Patchew-devel mailing list