Skip to contentSkip to conversation

ez: Fix adding 'RESEND' to patch subject

PATCH Applied Rob Herring 2 participants 2 messages Aug 25, 2022 – Aug 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ez: Fix adding 'RESEND' to patch subject

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.

---
 b4/ez.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
b4/ez.py +1 -1
index 280eb0d4e969..d42a7b748d35 100644
@@ -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)
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Rob Herring

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.

Applied, thanks!

[1/1] ez: Fix adding 'RESEND' to patch subject

      commit: 2d2c86e713fb523e7a17c3d343a7c8bf68cf4a53

Best regards,

Signature · 1 line
Konstantin Ryabitsev <[email protected]>