Conversation

Krzysztof Kozlowski

Edited 4 months ago
I was always using git branch --edit-description && git format-patch && git send-email, but now I tried preparing and sending patchset with b4 (b4 prep && b4 send). It works great! It is trivial in use and really solves the workflow. I cannot understand why people still Cc wrong people or are unable to send one patchset properly threaded.

Edit: --edit-cover->--edit-description
3
1
15
@krzk I always end up resorting to doing this manually with all that stuff (and occasionally making mistakes) fearing b4 would somehow screw it up but it's such an almighty pain in the arse + enough people reporting b4 working solidly that I think for my next series I should give it a go...
1
0
3
@ljs @krzk I've already used it for last 2 or 3 postings and it's super convenient!
1
0
3
@vbabka @krzk yeah seems the way to go, I'm more likely to fuck things up doing it manually tbh
1
0
1
@ljs @vbabka @krzk for the record, there is still a good chance things will go sideways with b4 send, but at this point it should work fairly reliably for the majority of workflows. It's only when someone tries to be more creative than we expect when things go boom.
2
0
4
@monsieuricon @krzk @vbabka luckily I am not that creative
0
0
2
@monsieuricon while at it, where did "b4 prep --cleanup" dissapear? It is still in the documentation though.

L.E. version 0.12.4 definitely doesn't have it.
1
0
0
@abelvesa it's in 0.13+ (unreleased yet)
2
0
0
@monsieuricon one more thing. When one wants to prepare 2 patchsets that depend on each other, b4 prep is not allowed for the second patchset, as it complains that the first branch is already a b4 prep branch (I guess it sees the b4 commit from the first patchset being there). The only workaround I found is to do b4 prep with -next first, then rebase on top of first branch and then do b4 prep for the second patchset.
0
0
0

Finding out the web endpoint with b4 was awesome. Now I can just send patches from my personal machine since I don't have to rely on an internal (so vpn + windows) SMTP server.

0
0
0

@krzk Sorry, I haven't identified any reference to a git branch --edit-cover. If git branch has such an option called --edit-cover. My google-fu (and also man pages) failed me this time.

1
0
0