4242
4343vername=$( echo " $vername " | tr " -" " ." )
4444
45- git log --format=' %aN,' " $previous " | sort -u > " $tmpbase .prev"
46- git log --format=' %aN,' " $previous ..$commit " | sort -u > " $tmpbase .this"
45+ git log --use-mailmap -- format=' %aN,' " $previous " | sort -u > " $tmpbase .prev"
46+ git log --use-mailmap -- format=' %aN,' " $previous ..$commit " | sort -u > " $tmpbase .this"
4747comm -12 " $tmpbase .prev" " $tmpbase .this" > " $tmpbase .old"
4848comm -13 " $tmpbase .prev" " $tmpbase .this" > " $tmpbase .new"
4949
@@ -59,20 +59,39 @@ Subject: [ANNOUNCE] Git $relname
5959
6060EOF
6161
62- fmt -68 << EOF
63- $kind Git $relname is now available$for_testing at the usual places.
64- It is comprised of $cnt non-merge commits since $previous ,
65- contributed by $all people, $new of which are new faces.
66- EOF
62+ (
63+ echo " $kind Git $relname is now available$for_testing at the usual places."
64+ if test " $branch " = master
65+ then
66+ cat << -EOF
67+ It is comprised of $cnt non-merge commits since $previous ,
68+ contributed by $all people, $new of which are new faces.
69+ EOF
70+ fi
71+ ) | fmt -68
6772
6873cat << EOF
6974
7075The tarballs are found at:
7176
7277 https://www.kernel.org/pub/software/scm/git/${for_testing: +testing/ }
7378
74- The following public repositories all have a copy of the '$relname '
75- tag and the '$branch ' branch that the tag points at:
79+ EOF
80+
81+ (
82+ cat << -EOF
83+ The following public repositories all have a copy of
84+ the '$relname ' tag and
85+ EOF
86+ case " $branch " in
87+ maint-* | mainto/* )
88+ echo " some of them have"
89+ ;;
90+ esac
91+ echo " the '$branch ' branch that the tag points at:"
92+ ) | fmt -68
93+
94+ cat << \EOF
7695
7796 url = https://kernel.googlesource.com/pub/scm/git/git
7897 url = git://repo.or.cz/alt-git.git
@@ -94,17 +113,23 @@ fmt_people () {
94113
95114}
96115
97- cat << EOF
116+ if test " $branch " = master
117+ then
118+ cat << -EOF
98119
99- New contributors whose contributions weren't in $previous are as follows.
100- Welcome to the Git development community!
120+ New contributors whose contributions weren't in $previous are as follows.
121+ Welcome to the Git development community!
101122
102- $( fmt_people " $tmpbase .new" )
123+ $( fmt_people " $tmpbase .new" )
103124
104- Returning contributors who helped this release are as follows.
105- Thanks for your continued support.
125+ Returning contributors who helped this release are as follows.
126+ Thanks for your continued support.
106127
107- $( fmt_people " $tmpbase .old" )
128+ $( fmt_people " $tmpbase .old" )
129+ EOF
130+ fi
131+
132+ cat << EOF
108133
109134----------------------------------------------------------------
110135
0 commit comments