Print this page
12166 resync smatch to 0.6.1-rc1-il-3
@@ -97,12 +97,14 @@
grep -v '^#' $MSG_FILE > $MSG_FILE.1
mv $MSG_FILE.1 $MSG_FILE
git commit $AMEND -F $MSG_FILE
-to_addr=$(./scripts/get_maintainer.pl -f --noroles --norolestats $fullname | head -n 1)
-cc_addr=$(./scripts/get_maintainer.pl -f --noroles --norolestats $fullname | tail -n +2 | \
+git format-patch HEAD^ --stdout >> $MSG_FILE
+
+to_addr=$(./scripts/get_maintainer.pl --noroles --norolestats $MSG_FILE | head -n 1)
+cc_addr=$(./scripts/get_maintainer.pl --noroles --norolestats $MSG_FILE | tail -n +2 | \
perl -ne 's/\n$/, /; print')
cc_addr="$cc_addr, kernel-janitors@vger.kernel.org"
echo -n "To: " > $MAIL_FILE
echo "$to_addr" >> $MAIL_FILE
@@ -116,5 +118,6 @@
echo "Press ENTER to continue"
read unused
mutt -H $MAIL_FILE
+rm -f $MSG_FILE