Merge branch 'pp/maint-doc-pager-config'
authorJeff King <peff@peff.net>
Sun, 4 Nov 2012 13:00:37 +0000 (08:00 -0500)
committerJeff King <peff@peff.net>
Sun, 4 Nov 2012 13:00:38 +0000 (08:00 -0500)
* pp/maint-doc-pager-config:
Documentation: improve the example of overriding LESS via core.pager

1  2 
Documentation/config.txt
diff --combined Documentation/config.txt
index 11f320b96267e7bd11f23f13842ca9f92cac6f7f,789abe75de7c04839cd7ec537d11e5808554ff78..9a0544cf1fba605bde7031c23016bc24db741417
@@@ -538,14 -538,14 +538,14 @@@ core.pager:
        `LESS` variable to some other value.  Alternately,
        these settings can be overridden on a project or
        global basis by setting the `core.pager` option.
-       Setting `core.pager` has no affect on the `LESS`
+       Setting `core.pager` has no effect on the `LESS`
        environment variable behaviour above, so if you want
        to override git's default settings this way, you need
        to be explicit.  For example, to disable the S option
        in a backward compatible manner, set `core.pager`
-       to `less -+$LESS -FRX`.  This will be passed to the
-       shell by git, which will translate the final command to
-       `LESS=FRSX less -+FRSX -FRX`.
+       to `less -+S`.  This will be passed to the shell by
+       git, which will translate the final command to
+       `LESS=FRSX less -+S`.
  
  core.whitespace::
        A comma separated list of common whitespace problems to
@@@ -1211,16 -1211,8 +1211,16 @@@ gitweb.snapshot:
  grep.lineNumber::
        If set to true, enable '-n' option by default.
  
 +grep.patternType::
 +      Set the default matching behavior. Using a value of 'basic', 'extended',
 +      'fixed', or 'perl' will enable the '--basic-regexp', '--extended-regexp',
 +      '--fixed-strings', or '--perl-regexp' option accordingly, while the
 +      value 'default' will return to the default matching behavior.
 +
  grep.extendedRegexp::
 -      If set to true, enable '--extended-regexp' option by default.
 +      If set to true, enable '--extended-regexp' option by default. This
 +      option is ignored when the 'grep.patternType' option is set to a value
 +      other than 'default'.
  
  gpg.program::
        Use this custom program instead of "gpg" found on $PATH when