Change-Id: I75403dfbebeeb4d667c7dd6b8276c6a4f2ae4842
Signed-off-by: Frank Lichtenheld <fr...@lichtenheld.com>
---
 dev-tools/gerrit-send-mail.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-tools/gerrit-send-mail.py b/dev-tools/gerrit-send-mail.py
index 851a20a0..5429aef6 100755
--- a/dev-tools/gerrit-send-mail.py
+++ b/dev-tools/gerrit-send-mail.py
@@ -108,8 +108,9 @@ Acked-by according to Gerrit (reflected above):
         + patch_text[comment_start:]
     )
     filename = f"gerrit-{args.changeid}-{details['revision']}.patch"
+    patch_text_final = patch_text_mod.replace("Subject: [PATCH]", f"Subject: 
[PATCH v{details['revision']}]")
     with open(filename, "w") as patch_file:
-        patch_file.write(patch_text_mod)
+        patch_file.write(patch_text_final)
     print("send with:")
     print(f"git send-email --in-reply-to {details['msg_id']} {filename}")
 
-- 
2.34.1



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to