* Missing cover letter
@ 2026-02-24 21:22 Dave Hansen
2026-02-24 22:16 ` Kees Cook
2026-02-25 0:17 ` Konstantin Ryabitsev
0 siblings, 2 replies; 5+ messages in thread
From: Dave Hansen @ 2026-02-24 21:22 UTC (permalink / raw)
To: tools
b4 am doesn't seem to like my cover letter:
https://lore.kernel.org/all/20260213235119.6A9A0F80@davehans-spike.ostc.intel.com/
I think it's because I didn't put a diffstat in that cover letter (it didn't get sent with git send-email). I even hacked:
- if DIFFSTAT_RE.search(self.body):
- self.has_diffstat = True
+ self.has_diffstat = True
and the cover letter is showing up now.
Any chance b4 could use a different heuristic for determining cover letters? Or should I stop being lazy and fix my script? :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing cover letter
2026-02-24 21:22 Missing cover letter Dave Hansen
@ 2026-02-24 22:16 ` Kees Cook
2026-02-24 23:26 ` Dave Hansen
2026-02-25 0:17 ` Konstantin Ryabitsev
1 sibling, 1 reply; 5+ messages in thread
From: Kees Cook @ 2026-02-24 22:16 UTC (permalink / raw)
To: Dave Hansen; +Cc: tools
On Tue, Feb 24, 2026 at 01:22:47PM -0800, Dave Hansen wrote:
> I think it's because I didn't put a diffstat in that cover letter (it didn't get sent with git send-email). I even hacked:
I kinda think cover letters should always have a diffstat ... :P
FWIW, I use: git format-patch --cover-letter -n -o outgoing/ ...
--
Kees Cook
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing cover letter
2026-02-24 22:16 ` Kees Cook
@ 2026-02-24 23:26 ` Dave Hansen
0 siblings, 0 replies; 5+ messages in thread
From: Dave Hansen @ 2026-02-24 23:26 UTC (permalink / raw)
To: Kees Cook; +Cc: tools
On 2/24/26 14:16, Kees Cook wrote:
> On Tue, Feb 24, 2026 at 01:22:47PM -0800, Dave Hansen wrote:
>> I think it's because I didn't put a diffstat in that cover letter
>> (it didn't get sent with git send-email). I even hacked:
> I kinda think cover letters should always have a diffstat ... :P
Yeah, I agree and I actually already fixed my scripts to add one. But it
did surprise me, and it might surprise anyone who composes a series
without git.
Handling it would definitely be helpful to a minority of folks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing cover letter
2026-02-24 21:22 Missing cover letter Dave Hansen
2026-02-24 22:16 ` Kees Cook
@ 2026-02-25 0:17 ` Konstantin Ryabitsev
2026-02-25 0:21 ` Dave Hansen
1 sibling, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2026-02-25 0:17 UTC (permalink / raw)
To: Dave Hansen; +Cc: tools
On Tue, Feb 24, 2026 at 01:22:47PM -0800, Dave Hansen wrote:
> b4 am doesn't seem to like my cover letter:
>
> https://lore.kernel.org/all/20260213235119.6A9A0F80@davehans-spike.ostc.intel.com/
That's because your cover letter has [v3] but none of the patches do:
2026-02-13 23:51 [PATCH 0/4] [v3] x86/cpu: Take Intel platform into account for old microcode checks Dave Hansen
2026-02-13 23:51 ` [PATCH 1/4] x86/microcode: Refactor platform ID enumeration into a helper Dave Hansen
2026-02-13 23:51 ` [PATCH 2/4] x86/cpu: Add platform ID to CPU info structure Dave Hansen
2026-02-13 23:51 ` [PATCH 3/4] x86/cpu: Add platform ID to CPU matching structure Dave Hansen
2026-02-13 23:51 ` [PATCH 4/4] x86/microcode: Add platform mask to Intel microcode "old" list Dave Hansen
Pretty much any assumption we try to make here is going to be wrong for some
other case, so I'm just going to politely ask to please number your patches
as git/b4/any other tool expects them. :)
--
KR
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Missing cover letter
2026-02-25 0:17 ` Konstantin Ryabitsev
@ 2026-02-25 0:21 ` Dave Hansen
0 siblings, 0 replies; 5+ messages in thread
From: Dave Hansen @ 2026-02-25 0:21 UTC (permalink / raw)
To: Konstantin Ryabitsev; +Cc: tools
On 2/24/26 16:17, Konstantin Ryabitsev wrote:
> That's because your cover letter has [v3] but none of the patches do:
>
> 2026-02-13 23:51 [PATCH 0/4] [v3] x86/cpu: Take Intel platform into account for old microcode checks Dave Hansen
> 2026-02-13 23:51 ` [PATCH 1/4] x86/microcode: Refactor platform ID enumeration into a helper Dave Hansen
> 2026-02-13 23:51 ` [PATCH 2/4] x86/cpu: Add platform ID to CPU info structure Dave Hansen
> 2026-02-13 23:51 ` [PATCH 3/4] x86/cpu: Add platform ID to CPU matching structure Dave Hansen
> 2026-02-13 23:51 ` [PATCH 4/4] x86/microcode: Add platform mask to Intel microcode "old" list Dave Hansen
>
> Pretty much any assumption we try to make here is going to be wrong for some
> other case, so I'm just going to politely ask to please number your patches
> as git/b4/any other tool expects them. 🙂
Ahh, that's fair and very fixable. Thanks for the suggestion!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-02-25 0:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 21:22 Missing cover letter Dave Hansen
2026-02-24 22:16 ` Kees Cook
2026-02-24 23:26 ` Dave Hansen
2026-02-25 0:17 ` Konstantin Ryabitsev
2026-02-25 0:21 ` Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox