Do not mess-up with commit message formatting when sending email
commit42857cbe036ba5917eacc9dbb5644d395f638ed9
authorSamuel Tardieu <sam@rfc1149.net>
Mon, 4 Aug 2008 15:36:32 +0000 (4 17:36 +0200)
committerKarl Hasselström <kha@treskal.com>
Mon, 4 Aug 2008 15:36:32 +0000 (4 17:36 +0200)
tree8c55a60fed5eaf6e8c2e0928e7bd1c980cb83156
parent9164e8e28f607a669b5e6b1d44d811b7397175c7
Do not mess-up with commit message formatting when sending email

The short description, which will be used as the email subject,
gets its leading and trailing blanks removed.

The long description gets its trailing blanks removed as well
as any leading empty lines. Leading blanks are left untouched
to preserve the formatting.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/mail.py