Re: [PATCH v1 0/8] format-patch: introduce --confirm-overwrite
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 11, 2021, 05:12 UTC
- Message-ID
- <609a124a3cdd6_5b0e12081c@natae.notmuch>
- In-Reply-To
- <87tunaf54u.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me>
Firmin Martin wrote:
Show 10 quoted lines
> Denton Liu <liu.denton@gmail.com> writes: > > It seems like everyone has written some sort of tooling on top of > > format-patch at this point. Taking a cursory look at your tool, perhaps > > a feature like `--previous-cover-letter <file>` might provide most of > > the functionality that most tooling that I've seen gives. > > This is a good idea. We can default <file> to the target cover letter > (e.g., if -v2 is passed, v2-0000-cover-letter.patch or if > --numbered-files is passed, 0) if present, or the previous series' cover > letter.
That's a good idea.
Actually I don't see any reason why by default it isn't 0000-v2-cover-letter.patch.
If it was it would diminish the need to warn people before overwriting 0000-cover-letter.patch.
-- Felipe Contreras