From 2d2c86e713fb523e7a17c3d343a7c8bf68cf4a53 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Thu, 25 Aug 2022 13:25:19 -0500 Subject: 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. Signed-off-by: Rob Herring Signed-off-by: Konstantin Ryabitsev --- b4/ez.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/ez.py b/b4/ez.py index 280eb0d..d42a7b7 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) -- cgit v1.2.3