projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e1881
)
patman: Allow showing a Commit as a string
author
Simon Glass
<sjg@chromium.org>
Fri, 30 Oct 2020 03:46:32 +0000
(21:46 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000
(09:11 -0700)
Use the subject of the Commit object when printing it out.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/commit.py
patch
|
blob
|
history
diff --git
a/tools/patman/commit.py
b/tools/patman/commit.py
index e49bf87dfc80a92ec336e2678f004be5ac19cfaf..5bf2b9402997f3dec64fa71e1d567ed4a1ef1f87 100644
(file)
--- a/
tools/patman/commit.py
+++ b/
tools/patman/commit.py
@@
-41,6
+41,9
@@
class Commit:
self.rtags = collections.defaultdict(set)
self.warn = []
+ def __str__(self):
+ return self.subject
+
def AddChange(self, version, info):
"""Add a new change line to the change list for a version.