summaryrefslogtreecommitdiff
path: root/tools/patman/series.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-27 12:27:30 -0700
committerTom Rini <trini@konsulko.com>2025-04-10 11:57:49 -0600
commit774e966f293c552f29a57d9ad7b620e6f334aad9 (patch)
tree39b069a23f767d732b233097218633b4c209249a /tools/patman/series.py
parent206ca97fac5bc638b04b712075d8bb4656d79395 (diff)
patman: Show the base commit and branch
It is helpful to know which commit patches are based on, even if that commit might not be available to readers. Add a tag for this in the cover letter. Also add the local-branch name since that may be useful to the writer. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/series.py')
-rw-r--r--tools/patman/series.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py
index d7f2f010f5d..b73e9c58de4 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -42,6 +42,8 @@ class Series(dict):
self.notes = []
self.changes = {}
self.allow_overwrite = False
+ self.base_commit = None
+ self.branch = None
# Written in MakeCcFile()
# key: name of patch file