diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-09-01 11:26:28 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-09-01 11:26:28 -0700 |
| commit | 3b4e395cb3ed2170da1fe2f340f54bc742351f92 (patch) | |
| tree | 3ec4d8f59f735c56437c76086a217f70700eeeeb /Documentation | |
| parent | f137bd4358bba70cede3e3198cbd50fd656b70a9 (diff) | |
| parent | 67f4b36e339d91c06ff9cdc254864c830158e10f (diff) | |
| download | git-3b4e395cb3ed2170da1fe2f340f54bc742351f92.tar.xz | |
Merge branch 'ob/format-patch-description-file'
"git format-patch" learns a way to feed cover letter description,
that (1) can be used on detached HEAD where there is no branch
description available, and (2) also can override the branch
description if there is one.
* ob/format-patch-description-file:
format-patch: add --description-file option
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/git-format-patch.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 373b46fc0d..8e515c7dbb 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -215,6 +215,10 @@ is greater than 100 bytes, then the mode will be `message`, otherwise If `<mode>` is `none`, both the cover letter subject and body will be populated with placeholder text. +--description-file=<file>:: + Use the contents of <file> instead of the branch's description + for generating the cover letter. + --subject-prefix=<subject prefix>:: Instead of the standard '[PATCH]' prefix in the subject line, instead use '[<subject prefix>]'. This |
