From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] devtools: fix version search with git < 2.7.0 Date: Fri, 22 Sep 2017 15:41:18 +0200 Message-ID: <3397882.MPWtsoVqme@xps> References: <20170904220532.10175-1-thomas@monjalon.net> <20170915092456.GF2160@autoinstall.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?N=E9lio?= Laranjeiro , stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <20170915092456.GF2160@autoinstall.dev.6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 15/09/2017 11:24, N=E9lio Laranjeiro: > On Tue, Sep 05, 2017 at 12:05:32AM +0200, Thomas Monjalon wrote: > > The script git-log-fixes.sh (used in check-git-log.sh) looks > > for git tags to find the version where a bug is introduced. > >=20 > > In DPDK 17.08, the script has been fixed to ignore tags from > > non current branch. > > It was using the option --merged which was introduced in git 2.7.0. > >=20 > > As git 2.7.0 is not so old, a fallback is provided for some years. > >=20 > > The fallback is replacing the tag --merged option by a branch filter. > > If the tag is found in the branch, the branch name is replaced > > by the tag. > >=20 > > This script could be improved to allow using another reference branch, > > instead of hard coding HEAD branch (the current one). > >=20 > > Fixes: 26857dabb3c9 ("devtools: ignore non merged tags for backport") > > Cc: stable@dpdk.org > >=20 > > Signed-off-by: Thomas Monjalon > Tested-by: Nelio Laranjeiro >=20 > Solves the issue. Applied