|
|
@ -149,18 +149,18 @@ PATCH_DIR=$PATCH_TEMP_DIR/$TOPIC_NAME |
|
|
|
rm -rf $PATCH_DIR |
|
|
|
rm -rf $PATCH_DIR |
|
|
|
mkdir -p $PATCH_DIR |
|
|
|
mkdir -p $PATCH_DIR |
|
|
|
|
|
|
|
|
|
|
|
git format-patch $FORMAT_PATCH_FLAGS $BASE_HASH --output-directory $PATCH_DIR/ |
|
|
|
git format-patch --rfc $FORMAT_PATCH_FLAGS $BASE_HASH --output-directory $PATCH_DIR/ |
|
|
|
|
|
|
|
|
|
|
|
if [ $COMMIT_COUNT -ne "1" ] |
|
|
|
if [ $COMMIT_COUNT -ne "1" ] |
|
|
|
then |
|
|
|
then |
|
|
|
COVER_LETTER="$PATCH_DIR/v$PATCH_VERSION-0000-cover-letter.patch" |
|
|
|
COVER_LETTER="$PATCH_DIR/v$PATCH_VERSION-0000-cover-letter.patch" |
|
|
|
split -p 'BLURB HERE' "$COVER_LETTER" |
|
|
|
csplit "$COVER_LETTER" '/BLURB HERE/' |
|
|
|
cat xaa > $COVER_LETTER |
|
|
|
cat xx00 > $COVER_LETTER |
|
|
|
rm xaa |
|
|
|
rm xx00 |
|
|
|
printf "$URLS\n" >> $COVER_LETTER |
|
|
|
printf "$URLS\n" >> $COVER_LETTER |
|
|
|
! [ -e "$INTERDIFF" ] || cat "$INTERDIFF" >> $COVER_LETTER |
|
|
|
! [ -e "$INTERDIFF" ] || cat "$INTERDIFF" >> $COVER_LETTER |
|
|
|
tail -n +2 xab >> $COVER_LETTER |
|
|
|
tail -n +2 xx01 >> $COVER_LETTER |
|
|
|
rm xab |
|
|
|
rm xx01 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
! [ -e "$INTERDIFF" ] || rm "$INTERDIFF" |
|
|
|
! [ -e "$INTERDIFF" ] || rm "$INTERDIFF" |
|
|
@ -223,8 +223,8 @@ REVIEWERS=$( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######################################################################## |
|
|
|
######################################################################## |
|
|
|
$(git config core.editor) $PATCH_DIR & |
|
|
|
$(git config core.editor) $PATCH_DIR |
|
|
|
|
|
|
|
|
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "Send patch with:" |
|
|
|
echo "Send patch with:" |
|
|
|
echo "git push origin $TAG_NAME && git send-email $PATCH_DIR/* --to=git@vger.kernel.org $REVIEWERS --in-reply-to=" |
|
|
|
echo "git push origin $TAG_NAME && git send-email $PATCH_DIR/* --to=wireguard@lists.zx2c4.com $REVIEWERS --in-reply-to=" |
|
|
|