Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/b4/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ def setup_parser() -> argparse.ArgumentParser:
help='Do not add any addresses found in the cover or patch trailers to To: or Cc:')
sp_send.add_argument('--to', nargs='+', metavar='ADDR', help='Addresses to add to the To: list')
sp_send.add_argument('--cc', nargs='+', metavar='ADDR', help='Addresses to add to the Cc: list')
sp_send.add_argument('--in-reply-to', metavar='IDENTIFIER',
help='Send patchset in reply to a message')
sp_send.add_argument('--not-me-too', action='store_true', default=False,
help='Remove yourself from the To: or Cc: list')
sp_send.add_argument('--resend', metavar='vN', nargs='?', const='latest',
Expand Down
3 changes: 3 additions & 0 deletions src/b4/ez.py
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,9 @@ def cmd_send(cmdargs: argparse.Namespace) -> None:

logger.info('Converted the branch to %s messages', len(patches))

if cmdargs.in_reply_to:
patches[0][1].add_header('In-Reply-To', '<%s>' % cmdargs.in_reply_to)

usercfg = b4.get_user_config()
myemail = usercfg.get('email')

Expand Down