X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=blobdiff_plain;f=devtools%2Fgit-log-fixes.sh;h=5800687419c881eae36c119163f9847c662c6dba;hp=740494677f372b0c3cb2a41077780e1b9115f73a;hb=f239aed5e674965691846e8ce3f187dd47523689;hpb=bf7567fd2a5b0b28ab724046143c24561d38d015 diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index 74049467..58006874 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -66,7 +66,7 @@ range="$*" # get major release version of a commit commit_version () # { - tag=$(git tag -l --contains $1 | head -n1) + tag=$(git tag -l --contains $1 --merged | head -n1) if [ -z "$tag" ] ; then # before -rc1 tag of release in progress make showversion | cut -d'.' -f-2