From: Bin Meng Date: Sun, 26 Jun 2016 23:24:27 -0700 Subject: [U-Boot] [PATCH v2 0/5] tools: patman: Fixes to improve handling of various wrong usage Message-ID: <1467008672-1116-1-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This fixes several issues when abnormal tags are given to patman. For example, when we forget to put an 'END' after 'Cover-letter', patman does not handle such cases very well. This adds several additional checking to let patman be a little more tolerant on handling such exceptional paths. This series is available at u-boot-x86/patman-working for testing. Changes in v2: - New patch to use cover_match for 'Cover-letter' - Update commit message to explain when such scenario is hit - Add cover_match to the test logic - Generate warning for missing 'END' case - Update commit message to explain when such case is hit - Reset in_section, skip_blank and section variables too - Geneate warning when blank line is not found in 'Series-changes' - New patch to handle missing 'END' in non-last commit of a series Bin Meng (5): tools: patman: Use cover_match for 'Cover-letter' tools: patman: Handle tag sections without an 'END' tools: patman: Generate cover letter correctly when 'END' is missing tools: patman: Handle missing blank line for 'Series-changes' tools: patman: Handle missing 'END' in non-last commit of a series tools/patman/patchstream.py | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) -- 2.7.4