From f051679dc577d93d177e6eddefaba28a69d9955f Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Fri, 28 Apr 2017 15:21:54 +0800 Subject: [PATCH] devtools: list stable commits without fixline Some commits for stable releases (with Cc stable tag) may not have the fixline. Thus, this patch makes git-log-fixes.sh script also list those stable commits do not have fixline. Signed-off-by: Yuanhan Liu --- devtools/git-log-fixes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index 3bf412e75a..740494677f 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -116,7 +116,8 @@ stable_tag () # git log --oneline --reverse $range | while read id headline ; do origins=$(origin_filter $id) - [ -n "$origins" ] || echo "$headline" | grep -q fix || continue + stable=$(stable_tag $id) + [ "$stable" = "S" ] || [ -n "$origins" ] || echo "$headline" | grep -q fix || continue version=$(commit_version $id) if [ -n "$origins" ] ; then origver="$(origin_version $origins)" @@ -126,6 +127,5 @@ while read id headline ; do else origver='N/A' fi - stable=$(stable_tag $id) printf '%s %7s %s %s (%s)\n' $version $id $stable "$headline" "$origver" done -- 2.20.1