Message ID | 20220825182519.1449744-1-robh@kernel.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | ez: Fix adding 'RESEND' to patch subject | expand |
On Thu, 25 Aug 2022 13:25:19 -0500, Rob Herring wrote: > 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,
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)
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(-)