From: Firmin Martin Date: Thu, 06 May 2021 16:51:01 GMT Subject: [PATCH v1 7/8] doc/format-patch: describe --confirm-overwrite Message-ID: <20210506165102.123739-8-firminmartin24@gmail.com> In-Reply-To: <20210506165102.123739-1-firminmartin24@gmail.com> Signed-off-by: Firmin Martin --- Documentation/git-format-patch.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 911da181a1..49f08b5e51 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -20,6 +20,7 @@ SYNOPSIS [--in-reply-to=] [--suffix=.] [--ignore-if-in-upstream] [--cover-from-description=] + [--confirm-overwrite=] [--rfc] [--subject-prefix=] [(--reroll-count|-v) ] [--to=] [--cc=] @@ -195,6 +196,7 @@ will want to ensure that threading is disabled for `git send-email`. --cover-from-description=:: Controls which parts of the cover letter will be automatically populated using the branch's description. + + If `` is `message` or `default`, the cover letter subject will be populated with placeholder text. The body of the cover letter will be @@ -212,6 +214,23 @@ is greater than 100 bytes, then the mode will be `message`, otherwise If `` is `none`, both the cover letter subject and body will be populated with placeholder text. +`--confirm-overwrite`=:: + Specifies when Git must ask the user to confirm whether existing + patches or cover letter of the same name should be overwritten. + possible values are: ++ +-- +always;; +never;; + Always/never prompt for confirmation whenever patches or a cover letter + are subject to be overwritten. +cover;; + Ask confirmation whenever a cover letter is subject to be overwritten. +-- ++ +Defaults to the value of the `format.confirmOverwrite` variable, or +"cover" if unconfigured. + --subject-prefix=:: Instead of the standard '[PATCH]' prefix in the subject line, instead use '[]'. This @@ -409,6 +428,7 @@ with configuration variables. outputDirectory = coverLetter = auto coverFromDescription = auto + confirmOverwrite = onlyCover ------------ -- 2.31.1.449.g4a44fa8106