aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-12 17:37:32 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-12 17:42:35 -0400
commit41df95bf27fd90391c3244bd96ce3be7200f12a0 (patch)
tree26cece2123199d1c75c55b6108cdacd4f71d8c69
parentd709ca8b42aa6bf222e90967d736cc3c2fcf7b5a (diff)
downloadb4-41df95bf27fd90391c3244bd96ce3be7200f12a0.tar.gz
ez: modify default template to move trailers below comments
The comments are throwing off our trailer parsing, so move the trailers below the comments describing how to use trailers. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/ez.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/b4/ez.py b/b4/ez.py
index 7009ccd..aebad58 100644
--- a/b4/ez.py
+++ b/b4/ez.py
@@ -436,13 +436,13 @@ def start_new_series(cmdargs: argparse.Namespace) -> None:
'detailed and link to any relevant discussions or sites that the maintainer',
'can review to better understand your proposed changes.',
'',
- 'Signed-off-by: %s <%s>' % (usercfg.get('name', ''), usercfg.get('email', '')),
- '',
- '# You can add other trailers to the cover letter. Any email addresses found in',
+ '# You can add trailers to the cover letter. Any email addresses found in',
'# these trailers will be added to the addresses specified/generated during',
'# the b4 send stage. You can also run "b4 prep --auto-to-cc" to auto-populate',
'# the To: and Cc: trailers based on the code being modified.',
'',
+ 'Signed-off-by: %s <%s>' % (usercfg.get('name', ''), usercfg.get('email', '')),
+ '',
'',
)
cover = '\n'.join(cover)