From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1df541-00025H-2V for qemu-devel@nongnu.org; Tue, 08 Aug 2017 10:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1df53w-0003h7-13 for qemu-devel@nongnu.org; Tue, 08 Aug 2017 10:00:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59206) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1df53v-0003ga-Nb for qemu-devel@nongnu.org; Tue, 08 Aug 2017 10:00:47 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9EEADC058EBF for ; Tue, 8 Aug 2017 14:00:46 +0000 (UTC) References: <20170808020249.GQ14780@lemon> From: Laszlo Ersek Message-ID: <45317b91-2a3e-3f6e-a0df-1678ee93c97a@redhat.com> Date: Tue, 8 Aug 2017 16:00:39 +0200 MIME-Version: 1.0 In-Reply-To: <20170808020249.GQ14780@lemon> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Howto: instructing patchew about patch dependency List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org On 08/08/17 04:02, Fam Zheng wrote: > Hi, QEMU patch submitters, > > I've patched patchew so that if you add a line: > > Based-on: $MESSAGE_ID > > in your cover letter body, or in a reply to it (or reply to reply), patchew will > try to apply your series on top of the one $MESSAGE_ID refers to, assuming the > base series _was_ successfully applied by patchew earlier. > > In the single patch case, you can put the line under the "---" mark in the > commit message (no need to let it enter git history). > > For human readability, around the "Based-on:" line it may be better if the > subject is noted. E.g.: > > Based-on: 20170804140942.19342-1-famz@redhat.com > ([PATCH for-2.10] vmdk: Fix error handling/reporting of vmdk_check) > > Please don't join them in one line because it will confuse the parser, after all > following the message id text, there aren't many spaces left. If the basis is a multi-patch series, should Based-on refer to the msgid of the last patch in that series, or its blurb? (I guess "refer to blurb" is more logical, but asking shouldn't hurt.) Thanks Laszlo