From 5c8fdd91dcc5c8f7da072d96df965e0399750e07 Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Tue, 12 Nov 2013 11:14:41 +0100 Subject: patman: add Commit-notes tag and section Sometimes a commit should have notes enclosed with it rather than withing the cover letter -- possibly even because there is no cover letter. Add a 'Commit-notes' tag, similar to the 'Series-notes' one; lines between this tag and the next END line are inserted in the patch right after the '---' commit delimiter. Change-Id: I01e99ae125607dc6dec08f3be8a5a0b37f0a483d Signed-off-by: Albert ARIBAUD Signed-off-by: Simon Glass (Updated README) --- tools/patman/commit.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/patman/commit.py') diff --git a/tools/patman/commit.py b/tools/patman/commit.py index 900cfb3a5a..89cce7f88a 100644 --- a/tools/patman/commit.py +++ b/tools/patman/commit.py @@ -21,6 +21,7 @@ class Commit: changes: Dict containing a list of changes (single line strings). The dict is indexed by change version (an integer) cc_list: List of people to aliases/emails to cc on this commit + notes: List of lines in the commit (not series) notes """ def __init__(self, hash): self.hash = hash @@ -28,6 +29,7 @@ class Commit: self.tags = [] self.changes = {} self.cc_list = [] + self.notes = [] def AddChange(self, version, info): """Add a new change line to the change list for a version. -- cgit v1.2.3