X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-format-patch.txt;h=11a7d772618f48b961d41fb5fe1cb269d7ae7cd1;hb=5fdb70983585ccde1540563a8c7458621f7a7407;hp=7426109f6251b7e4b3b37e0b785157c0d46ee9f7;hpb=2819854ec5013fc0958ea477fa49d53fc0faee80;p=git.git diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 7426109f6..11a7d7726 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -59,8 +59,10 @@ output, unless the --stdout option is specified. If -o is specified, output files are created in . Otherwise they are created in the current working directory. -If -n is specified, instead of "[PATCH] Subject", the first line -is formatted as "[PATCH n/m] Subject". +By default, the subject of a single patch is "[PATCH] First Line" and +the subject when multiple patches are output is "[PATCH n/m] First +Line". To force 1/1 to be added for a single patch, use -n. To omit +patch numbers from the subject, use -N If given --thread, 'git-format-patch' will generate In-Reply-To and References headers to make the second and subsequent patch mails appear @@ -82,7 +84,7 @@ include::diff-options.txt[] -n:: --numbered:: - Name output in '[PATCH n/m]' format. + Name output in '[PATCH n/m]' format, even with a single patch. -N:: --no-numbered::