summaryrefslogtreecommitdiff
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-21 23:14:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-21 23:14:38 (GMT)
commit473c6224c6e46b68c4765d56628a85cea0ee9985 (patch)
tree4d73a452c41644927eee2e603bf50df850c81d96 /Documentation/git-format-patch.txt
parentfaefdd61ec7c7f6f3c8c9907891465ac9a2a1475 (diff)
parent3baf58bfb4bcfe201970abeffa8e1396d2324250 (diff)
downloadgit-473c6224c6e46b68c4765d56628a85cea0ee9985.zip
git-473c6224c6e46b68c4765d56628a85cea0ee9985.tar.gz
git-473c6224c6e46b68c4765d56628a85cea0ee9985.tar.bz2
Merge branch 'jc/format-patch-name-max'
The maximum length of output filenames "git format-patch" creates has become configurable (used to be capped at 64). * jc/format-patch-name-max: format-patch: make output filename configurable
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r--Documentation/git-format-patch.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index bf1bb40..3e49bf2 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -28,6 +28,7 @@ SYNOPSIS
[--no-notes | --notes[=<ref>]]
[--interdiff=<previous>]
[--range-diff=<previous> [--creation-factor=<percent>]]
+ [--filename-max-length=<n>]
[--progress]
[<common diff options>]
[ <since> | <revision range> ]
@@ -200,6 +201,13 @@ populated with placeholder text.
allows for useful naming of a patch series, and can be
combined with the `--numbered` option.
+--filename-max-length=<n>::
+ Instead of the standard 64 bytes, chomp the generated output
+ filenames at around '<n>' bytes (too short a value will be
+ silently raised to a reasonable length). Defaults to the
+ value of the `format.filenameMaxLength` configuration
+ variable, or 64 if unconfigured.
+
--rfc::
Alias for `--subject-prefix="RFC PATCH"`. RFC means "Request For
Comments"; use this when sending an experimental patch for