X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fgit-log-fixes.sh;h=3bf412e75ade3a285f65ceb0bbef5a1ab3cdd64a;hb=e31d4d214e64af6e7d1dbc1805ea31022fab1b6f;hp=d590735beee45b73ed3a03c013d0e7361504445d;hpb=df2b82cabfd25bd795a7ecda08eab98e841e7a13;p=dpdk.git diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index d590735bee..3bf412e75a 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -103,6 +103,16 @@ origin_version () # ... done | sort -uV | head -n1 } +# print a marker for stable tag presence +stable_tag () # +{ + if git log --format='%b' -1 $1 | grep -qi '^Cc: *stable@dpdk.org' ; then + echo 'S' + else + echo '-' + fi +} + git log --oneline --reverse $range | while read id headline ; do origins=$(origin_filter $id) @@ -116,5 +126,6 @@ while read id headline ; do else origver='N/A' fi - printf '%s %7s %s (%s)\n' $version $id "$headline" "$origver" + stable=$(stable_tag $id) + printf '%s %7s %s %s (%s)\n' $version $id $stable "$headline" "$origver" done