Subject: Re: [RFC PATCH] builtin/format-patch: print a warning for skipped merge commits?

From: Junio C Hamano <[email-masked]>
Date: Wed, 31 Dec 2025 14:12:07 +0900

Dominique Martinet <[email-masked]> writes:

> This RFC patch illustrates how we could easily print a warning, but
> perhaps the warning would only make sense if no other commit has been
> formatted?

Yeah, when nothing is shown but the given range is not empty, it
would not be too annoying to give an advice message.

On the other hand, I do not think it is a good idea to say anything
extra when the user gave a range "trunk..mytopic" that has repeated
back-merges from trunk into mytopic, to format what s/he worked on
the mytopic branch.  They _expect_ these back-merges to be ignored,
and it would be purely an unwanted noise.

Thanks.