aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-08-25 13:25:19 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-29 16:53:57 -0400
commit2d2c86e713fb523e7a17c3d343a7c8bf68cf4a53 (patch)
tree51a1a6d0db721e4faca09f2556263cdff81a2206
parent99d3146f122ee009691bb1727f8145b329199415 (diff)
downloadb4-2d2c86e713fb523e7a17c3d343a7c8bf68cf4a53.tar.gz
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 <robh@kernel.org> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/ez.py2
1 files changed, 1 insertions, 1 deletions
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)