Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
* [PATCH] ez: Fix adding 'RESEND' to patch subject
@ 2022-08-25 18:25 Rob Herring
  2022-08-29 21:07 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-08-25 18:25 UTC (permalink / raw)
  To: tools; +Cc: users

If --resend option is given, the 'RESEND' prefix is not added to the patch
subject(s). This is because the original command line prefix list is
passed rather than the modified prefix list.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 b4/ez.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/b4/ez.py b/b4/ez.py
index 280eb0d4e969..d42a7b748d35 100644
--- a/b4/ez.py
+++ b/b4/ez.py
@@ -944,7 +944,7 @@ def cmd_send(cmdargs: argparse.Namespace) -> None:
         prefixes.append('RESEND')
 
     try:
-        patches = get_prep_branch_as_patches(prefixes=cmdargs.prefixes)
+        patches = get_prep_branch_as_patches(prefixes=prefixes)
     except RuntimeError as ex:
         logger.critical('CRITICAL: Failed to convert range to patches: %s', ex)
         sys.exit(1)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-29 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25 18:25 [PATCH] ez: Fix adding 'RESEND' to patch subject Rob Herring
2022-08-29 21:07 ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox