From: Junio C Hamano Date: Tue, 26 Jan 2016 23:40:30 +0000 (-0800) Subject: Merge branch 'ak/format-patch-odir-config' X-Git-Tag: v2.8.0-rc0~98 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b2ed5ae80a1b45ac00c4c891e693ffcde34a9347?hp=-c Merge branch 'ak/format-patch-odir-config' "git format-patch" learned to notice format.outputDirectory configuration variable. This allows "-o " option to be omitted on the command line if you always use the same directory in your workflow. * ak/format-patch-odir-config: format-patch: introduce format.outputDirectory configuration --- b2ed5ae80a1b45ac00c4c891e693ffcde34a9347 diff --combined Documentation/config.txt index 0f710ca3c2,e92a0ee19a..877cbc875e --- a/Documentation/config.txt +++ b/Documentation/config.txt @@@ -870,8 -870,6 +870,8 @@@ When preserve, also pass `--preserve-me so that locally committed merge commits will not be flattened by running 'git pull'. + +When the value is `interactive`, the rebase is run in interactive mode. ++ *NOTE*: this is a possibly dangerous operation; do *not* use it unless you understand the implications (see linkgit:git-rebase[1] for details). @@@ -1245,6 -1243,10 +1245,10 @@@ format.coverLetter: format-patch is invoked, but in addition can be set to "auto", to generate a cover-letter only when there's more than one patch. + format.outputDirectory:: + Set a custom directory to store the resulting files instead of the + current working directory. + filter..clean:: The command which is used to convert the content of a worktree file to a blob upon checkin. See linkgit:gitattributes[5] for @@@ -1452,14 -1454,6 +1456,14 @@@ grep.extendedRegexp: option is ignored when the 'grep.patternType' option is set to a value other than 'default'. +grep.threads:: + Number of grep worker threads to use. + See `grep.threads` in linkgit:git-grep[1] for more information. + +grep.fallbackToNoIndex:: + If set to true, fall back to git grep --no-index if git grep + is executed outside of a git repository. Defaults to false. + gpg.program:: Use this custom program instead of "gpg" found on $PATH when making or verifying a PGP signature. The program must support the @@@ -2159,8 -2153,6 +2163,8 @@@ When preserve, also pass `--preserve-me so that locally committed merge commits will not be flattened by running 'git pull'. + +When the value is `interactive`, the rebase is run in interactive mode. ++ *NOTE*: this is a possibly dangerous operation; do *not* use it unless you understand the implications (see linkgit:git-rebase[1] for details). diff --combined Documentation/git-format-patch.txt index b149e09065,64c28031ec..6821441d7d --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@@ -57,7 -57,11 +57,11 @@@ The names of the output files are print 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. + they are created in the current working directory. The default path + can be set with the 'format.outputDirectory' configuration option. + The `-o` option takes precedence over `format.outputDirectory`. + To store patches in the current working directory even when + `format.outputDirectory` points elsewhere, use `-o .`. By default, the subject of a single patch is "[PATCH] " followed by the concatenation of lines from the commit message up to the first blank @@@ -109,7 -113,6 +113,7 @@@ include::diff-options.txt[ --signoff:: Add `Signed-off-by:` line to the commit message, using the committer identity of yourself. + See the signoff option in linkgit:git-commit[1] for more information. --stdout:: Print all commits to the standard output in mbox format,