From nobody Fri Mar 29 07:13:04 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1605883468; cv=none; d=zohomail.com; s=zohoarc; b=ZS8G568ONq3fXBtijvHV4syjW0DLU/gpzS/QB4n0jPbo4xcU/iOv5Hg686/zLty3tyPOdOfdA/vcumrUney2gHUPCLO9wbR8wJV9dGCyyAibYCvLbJCFJO6TAbJaNJmm3kyy1Qerw30n3csvzYkXjRniw25m0JEZZqLbd6gSHJE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605883468; 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=rrfCjWMCh+ODHh26N1rg0iHYxAd1wVwsuOTYRA08y6k=; b=MjjofRqvbm+l+c3cxFTJEe2nXsAnzEl08NMabLvwGOaMRRy064Ja0/SnxkstKpLYJ8z1kVE3hY0r7TnjtJSHsGWfRgGkywHJoV2YkobnZ6zgdtGO4zDoUj9ki28Pld6kPymI4OxejnxRu584QK7A69sViJi4emyHioyzvSG6Wc4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605883467961425.96089959146536; Fri, 20 Nov 2020 06:44:27 -0800 (PST) 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-495-AOz3fd_3P72EU0B5-8pt5A-1; Fri, 20 Nov 2020 09:44:24 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 709281868400; Fri, 20 Nov 2020 14:44:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6905A5C1D5; Fri, 20 Nov 2020 14:44:23 +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 622CD5002C; Fri, 20 Nov 2020 14:44:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AKEiMrm007948 for ; Fri, 20 Nov 2020 09:44:22 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1A0615D9D0; Fri, 20 Nov 2020 14:44:22 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-204.ams2.redhat.com [10.36.112.204]) by smtp.corp.redhat.com (Postfix) with ESMTP id 65D1B5D9D5; Fri, 20 Nov 2020 14:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605883466; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rrfCjWMCh+ODHh26N1rg0iHYxAd1wVwsuOTYRA08y6k=; b=OA4h/CODiiekI25yFlI9LHcLnGQUdmV2KfoAayB9lvGeZp/3UGGK1+/jyml3g8QPMmyxIy WezGlXXjwaM1mQ/wuKZwmawxLGckdPo0FYeE7fFbBd8b/ZorZHhB6+9czSk2XCoBBAQJjk qG144a3+ffa7igx6R/Mypvk51MKNIvw= X-MC-Unique: AOz3fd_3P72EU0B5-8pt5A-1 From: Paolo Bonzini To: patchew-devel@redhat.com Date: Fri, 20 Nov 2020 15:44:15 +0100 Message-Id: <20201120144415.156537-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH v2] 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.16 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 X-ZohoMail-DKIM: pass (identity @redhat.com) 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. Message-Id: <20201022144446.3989941-1-fam@euphon.net> [Paolo: use --force, which is what 7e35f90584 wanted to achieve] --- patchew-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchew-cli b/patchew-cli index f872c1d..bf25ed3 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.28.0 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel