From nobody Wed Apr 24 06:33:50 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1603377920; cv=none; d=zohomail.com; s=zohoarc; b=AIFHP1RC6yiPmvHO7fgipivSBQXgp3FqtFccwgjWwk5BtGuTAXNmK6yr+vV7No0njwuf3Fxz3DniOkPUpKsZ3BMm9mhzWO5MC8swqlbD4I2el1CD6b3MXET+rIfFs2WBRdMlxB+3dkjDWxPAQ12/raZAQFAC0OADQNNR2f/iq8A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603377920; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=NDtNiV17X5oWf0iWO8ISrwa1ze3VMFilnBLJri9QvRk=; b=OLGLauhQQI4nzwr3ND8WlH3XnbpDlc7ZhFyElZ48e/bvhQV+gimPJvoyZr/E20PGFz4utb/Kya1uOaOU9dcfFbpjoPx7GH+dPyM67V21vZHLLQrNihwzLWGpxG2Vl3pDExQZ2ATfJsicOoAJZYsyRikWyJc7S2Q+ma4qFMT57Iw= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1603377920676931.1839651231362; Thu, 22 Oct 2020 07:45:20 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-276-oynLD1OjOsCGVSNvlEoWVg-1; Thu, 22 Oct 2020 10:45:16 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D28418463DE; Thu, 22 Oct 2020 14:45:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C34066266E; Thu, 22 Oct 2020 14:45:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id BB51A181A06B; Thu, 22 Oct 2020 14:45:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 09MEjDin003756 for ; Thu, 22 Oct 2020 10:45:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id D3457E5B38; Thu, 22 Oct 2020 14:45:13 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CD5D8E5B16 for ; Thu, 22 Oct 2020 14:45:07 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CA06A102F1E5 for ; Thu, 22 Oct 2020 14:45:07 +0000 (UTC) Received: from sender2-op-o12.zoho.com.cn (sender2-op-o12.zoho.com.cn [163.53.93.243]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-61-SdkPyOR4PVCG2Z7jfokEGA-1; Thu, 22 Oct 2020 10:45:02 -0400 Received: from localhost (ec2-52-56-101-76.eu-west-2.compute.amazonaws.com [52.56.101.76]) by mx.zoho.com.cn with SMTPS id 160337789362179.01315502678472; Thu, 22 Oct 2020 22:44:53 +0800 (CST) X-MC-Unique: oynLD1OjOsCGVSNvlEoWVg-1 X-MC-Unique: SdkPyOR4PVCG2Z7jfokEGA-1 From: fam@euphon.net To: patchew-devel@redhat.com Message-ID: <20201022144446.3989941-1-fam@euphon.net> Date: Thu, 22 Oct 2020 15:44:46 +0100 MIME-Version: 1.0 X-ZohoCNMailClient: External X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Mimecast-Spam-Signature: yes X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 09MEjDin003756 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] cli: Fix git fetch cmdline X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Fam Zheng The argument causes an error when doing git-fetch. Seems to be a bug introduced in 7e35f90584. --- patchew-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchew-cli b/patchew-cli index 9cfdf36..a7828b1 100755 --- a/patchew-cli +++ b/patchew-cli @@ -71,7 +71,7 @@ def git_clone_repo(clone, remote, head, logf, checkout=3D= True, recursive=3DFalse): ) if head.startswith("refs/tags/"): subprocess.check_call( - ["git", "fetch", remote_name, "+%s:%s" % (head, head)], + ["git", "fetch", remote_name, head], cwd=3Dcache_repo, stdout=3Dlogf, stderr=3Dlogf, --=20 2.25.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel