diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-02-15 17:24:37 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-02-15 17:26:13 -0500 |
commit | cb885b212870e7eb1408ef2b1821388e5c059bcc (patch) | |
tree | 4ad20e17787e843068c96584a54d539d5d8561ce | |
parent | e0ef846cf3856bece98da07032eebe4fda6cdd99 (diff) | |
download | b4-stable-0.13.y.tar.gz |
Add 'base-commit' and 'change-id' to badtrailersstable-0.13.y
These sometimes make it unquoted into replies, but they really don't
belong in commits, so weed them out.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py index a695c78..5add2f1 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -1267,7 +1267,7 @@ class LoreMessage: for trailer in trailers: # These are commonly part of patch/commit metadata badtrailers = {'from', 'author', 'cc', 'to', 'date', 'subject', - 'subscribe', 'unsubscribe'} + 'subscribe', 'unsubscribe', 'base-commit', 'change-id'} if trailer.lname not in badtrailers: trailer.lmsg = self self.trailers.append(trailer) |