[Patchew-devel] [PATCH] cli: Fix git fetch cmdline

Paolo Bonzini pbonzini at redhat.com
Thu Oct 22 15:29:17 UTC 2020


On 22/10/20 16:44, fam at euphon.net wrote:
>      if head.startswith("refs/tags/"):
>          subprocess.check_call(
> -            ["git", "fetch", remote_name, "+%s:%s" % (head, head)],
> +            ["git", "fetch", remote_name, head],

You should add --force too, I think.

Paolo




More information about the Patchew-devel mailing list