aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-11-29 13:33:49 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-11-29 13:33:49 -0500
commitf72c00b59695106019c63af15e89841058c3d7b3 (patch)
tree9fbd1b5ebb9217a650f0e6f850b8ce64bfac2ce4
parentd377f8ec13eac3b0ae253c89477b56b0d9cec42f (diff)
downloadb4-f72c00b59695106019c63af15e89841058c3d7b3.tar.gz
Remove b4 version from signature
We already have the version recorded in X-Mailer, so remove it from the signature and leave just the git version. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index aa008d7..3d1ed1c 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -2834,7 +2834,7 @@ def git_range_to_patches(gitdir: Optional[str], start: str, end: str,
if inbodyhdrs:
payload = '\n'.join(inbodyhdrs) + '\n\n' + payload
if gitver and not payload.find('\n-- \n') > 0:
- payload += f'\n-- \n{gitver}-b4-{__VERSION__}\n'
+ payload += f'\n-- \n{gitver}\n'
msg.set_payload(payload, charset='utf-8')
if extrahdrs is None: