mail things

This commit is contained in:
Arti Zirk 2020-10-21 19:02:25 +03:00
parent 8dfcb9a9d4
commit 978e127496
2 changed files with 10 additions and 8 deletions

View File

@ -149,18 +149,18 @@ PATCH_DIR=$PATCH_TEMP_DIR/$TOPIC_NAME
rm -rf $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" ]
then
COVER_LETTER="$PATCH_DIR/v$PATCH_VERSION-0000-cover-letter.patch"
split -p 'BLURB HERE' "$COVER_LETTER"
cat xaa > $COVER_LETTER
rm xaa
csplit "$COVER_LETTER" '/BLURB HERE/'
cat xx00 > $COVER_LETTER
rm xx00
printf "$URLS\n" >> $COVER_LETTER
! [ -e "$INTERDIFF" ] || cat "$INTERDIFF" >> $COVER_LETTER
tail -n +2 xab >> $COVER_LETTER
rm xab
tail -n +2 xx01 >> $COVER_LETTER
rm xx01
fi
! [ -e "$INTERDIFF" ] || rm "$INTERDIFF"
@ -223,8 +223,8 @@ REVIEWERS=$(
########################################################################
$(git config core.editor) $PATCH_DIR &
$(git config core.editor) $PATCH_DIR
echo ""
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="

View File

@ -10,6 +10,8 @@ set spoolfile = +INBOX
set imap_check_subscribed
# NotMuch config
set nm_default_url = "notmuch:///home/arti/Mail"
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.