From: Junio C Hamano Date: Wed, 10 Mar 2010 23:32:34 +0000 (-0800) Subject: Merge branch 'sh/am-keep-cr' X-Git-Tag: v1.7.1-rc0~73 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c505a850157961d2db4512d029753946d0591649?hp=-c Merge branch 'sh/am-keep-cr' * sh/am-keep-cr: git-am: Add tests for `--keep-cr`, `--no-keep-cr` and `am.keepcr` git-am: Add am.keepcr and --no-keep-cr to override it git-am: Add command line parameter `--keep-cr` passing it to git-mailsplit documentation: 'git-mailsplit --keep-cr' is not hidden anymore --- c505a850157961d2db4512d029753946d0591649 diff --combined Documentation/config.txt index 7103172ed3,dcbbdad661..87a3512073 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@@ -555,6 -555,13 +555,13 @@@ it will be treated as a shell command executed from the top-level directory of a repository, which may not necessarily be the current directory. + am.keepcr:: + If true, git-am will call git-mailsplit for patches in mbox format + with parameter '--keep-cr'. In this case git-mailsplit will + not remove `\r` from lines ending with `\r\n`. Can be overrriden + by giving '--no-keep-cr' from the command line. + See linkgit:git-am[1], linkgit:git-mailsplit[1]. + apply.ignorewhitespace:: When set to 'change', tells 'git apply' to ignore changes in whitespace, in the same way as the '--ignore-space-change' @@@ -685,7 -692,9 +692,7 @@@ color.grep: color.grep.match:: Use customized color for matches. The value of this variable - may be specified as in color.branch.. It is passed using - the environment variables 'GREP_COLOR' and 'GREP_COLORS' when - calling an external 'grep'. + may be specified as in color.branch.. color.interactive:: When set to `always`, always use colors for interactive prompts diff --combined Documentation/git-am.txt index 23864df8da,70bc698a35..9e62f8778f --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@@ -9,7 -9,7 +9,7 @@@ git-am - Apply a series of patches fro SYNOPSIS -------- [verse] - 'git am' [--signoff] [--keep] [--utf8 | --no-utf8] + 'git am' [--signoff] [--keep] [--keep-cr | --no-keep-cr] [--utf8 | --no-utf8] [--3way] [--interactive] [--committer-date-is-author-date] [--ignore-date] [--ignore-space-change | --ignore-whitespace] [--whitespace=