tools: patman: Generate cover letter correctly when 'END' is missing
authorBin Meng <bmeng.cn@gmail.com>
Mon, 27 Jun 2016 06:24:30 +0000 (23:24 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit0d57718775243c2d2d7ff8c69dad83db08e1030d
tree94262a1c58aa11008b49ac70b3ef0032b90fc621
parent13b98d95bab89bcac75c8a187577e7cc3754d194
tools: patman: Generate cover letter correctly when 'END' is missing

If 'END' is missing in a 'Cover-letter' section, and that section
happens to show up at the very end of the commit message, and the
commit is the last commit of the series, patman fails to generate
cover letter for us. Handle this in CloseCommit of patchstream.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/patchstream.py