summaryrefslogtreecommitdiffstats
path: root/devtools/git-log-fixes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/git-log-fixes.sh')
-rwxr-xr-xdevtools/git-log-fixes.sh2
1 files changed, 1 insertions, 1 deletions
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 () # <hash>
{
- 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