From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5ADD4297D; Tue, 18 Apr 2023 16:07:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9326642D0E; Tue, 18 Apr 2023 16:07:59 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 7D65342BD9; Tue, 18 Apr 2023 16:07:58 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 236985C0127; Tue, 18 Apr 2023 10:07:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 18 Apr 2023 10:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1681826878; x= 1681913278; bh=DBjpIhlpEdO6yRSV2wjJMypp/QFJAx7cX7M/Be6rp8k=; b=o j/nHXFncIUptSBioZ6jJH6jTv5cLoVVv4xaZJL5niQNJ9pvgq/BQgLsaO5ehPB3O z9rv/VxtXNJYvbpZTatNaTu8vpYTKTzh2Qzo+fZytuRUITpP4eZncNz575wPUaGY mrzZ0Rh3NSCYaNAwOORWFKohzeSMHh1UiN4Tjbm9SUOItGGJRCsuh9CxINWYzhoY L6AtFJkW96ScxtjHLbCHct/oCK2Bey1K3btPDMuwHtJ6fWhRBX/wvFbppsKsFmnp eA8OvMYs1XM5h4UjYgCavJ9kKbkd6Pj4dBsRBHgd8LQNC+n7hfg3LUSWQycVgHw6 YPs1H9AIlw5Tt2mJjDN9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1681826878; x= 1681913278; bh=DBjpIhlpEdO6yRSV2wjJMypp/QFJAx7cX7M/Be6rp8k=; b=B ghdOXdKyDc0b4ZCS8xk/xhhdxRIKHNWHrjRGeHUXNy3ZeZ6v67n0ESQpmoxUm3Kt JLGhQCsObbVqBVJPMcRzyk+3p57Wpfe1C1zvrx9nk8xHFpGkoHQuOwcuUTsUSYgJ o9vwnBswqmEOpu4hHa+4mgLUYhgAlPncMybRtHLOrBfyKdI1PN7MGD7T8KR+IWGe USxU6Muv+ntUa7T5CGl3Jl4O0dcF38VqdSC2ePAjHn1HrByny9uk2S+uCqQ06xt7 08GHi55PEjyqa2eo8A51LDUDZAyEzhYOyKmLJeFEpI9PYc0AAqHBfymtSGVI4Vhi atR3bKnQilrWTB0p4Na3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelkedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Apr 2023 10:07:57 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, Yuanhan Liu Subject: [PATCH 1/2] devtools: fix check of multiple commits fixed at once Date: Tue, 18 Apr 2023 16:07:25 +0200 Message-Id: <20230418140726.1472209-2-thomas@monjalon.net> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418140726.1472209-1-thomas@monjalon.net> References: <20230418140726.1472209-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When looking for fixes to backport, only the first origin commit hash (from "Fixes:") was checked. There is very little chance that the next commits being fixed have a wrong hash in the commit log of the fix, but it is fixed by checking them all before proceeding further. Fixes: 752d8e097ec1 ("scripts: show fixes with release version of bug") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- devtools/git-log-fixes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index 8a4a8470c2..4690dd4545 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -68,7 +68,7 @@ origin_version () # ... { for origin in $* ; do # check hash is valid - git rev-parse -q --verify $1 >&- || continue + git rev-parse -q --verify $origin >&- || continue # get version of this bug origin local origver=$(commit_version $origin) local roothashes="$(origin_filter $origin)" -- 2.40.0