tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH b4 0/2] A prep splat fix and rework of option handling
@ 2023-01-10 21:46 Rob Herring
  2023-01-10 21:46 ` [PATCH b4 1/2] prep: Fix splat with --auto-to-cc when a branch has no commits Rob Herring
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Rob Herring @ 2023-01-10 21:46 UTC (permalink / raw)
  To: Kernel.org Tools; +Cc: Konstantin Ryabitsev

I wanted enroll a branch and run 'auto-to-cc' in one step which from the 
help looks valid, but was met with a splat. The same splat happens if 
one runs 'b4 prep -c' on a newly created branch with no commits (other 
than the cover letter). There's a couple of other options that might be 
useful to use on new branches. The 2nd patch makes this possible.

Alternatively, the help should be clearer on what options are valid 
together or not.

Another thing I noticed is that if we error out when creating a new 
branch after the branch is created, the branch remains afterwards. Not 
sure if this is intended in the name of minimizing modifications to git 
trees or just an oversight.

Signed-off-by: Rob Herring <robh@kernel.org>
---
Rob Herring (2):
      prep: Fix splat with --auto-to-cc when a branch has no commits
      prep: Allow configuration options when enrolling/creating branch

 b4/command.py | 13 +++++++------
 b4/ez.py      | 38 ++++++++++++++++++++++----------------
 2 files changed, 29 insertions(+), 22 deletions(-)
---
base-commit: c88e6a31442bc41e9b56df763ba8b30e64d18c93
change-id: 20230110-prep-opts-0ad63b62e507

Best regards,
-- 
Rob Herring <robh@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-12 16:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10 21:46 [PATCH b4 0/2] A prep splat fix and rework of option handling Rob Herring
2023-01-10 21:46 ` [PATCH b4 1/2] prep: Fix splat with --auto-to-cc when a branch has no commits Rob Herring
2023-01-10 21:46 ` [PATCH b4 2/2] prep: Allow configuration options when enrolling/creating branch Rob Herring
2023-01-10 22:15 ` [PATCH b4 0/2] A prep splat fix and rework of option handling Rob Herring
2023-01-10 22:43   ` Konstantin Ryabitsev
2023-01-12 16:14 ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).