From: Simon Glass Date: Fri, 30 Oct 2020 03:46:32 +0000 (-0600) Subject: patman: Allow showing a Commit as a string X-Git-Tag: v2021.10~441^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a12ad7c94064759f5be02b879f3f52ed5111335f;p=platform%2Fkernel%2Fu-boot.git patman: Allow showing a Commit as a string Use the subject of the Commit object when printing it out. Signed-off-by: Simon Glass --- diff --git a/tools/patman/commit.py b/tools/patman/commit.py index e49bf87..5bf2b94 100644 --- 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.