From: Junio C Hamano Date: Wed, 31 Dec 2025 05:12:07 GMT Subject: Re: [RFC PATCH] builtin/format-patch: print a warning for skipped merge commits? Message-ID: In-Reply-To: <20251231034217.2498648-1-asmadeus@codewreck.org> Dominique Martinet 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.