Merge branch 'nd/packobjectshook-doc-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 07:16:07 +0000 (16:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 07:16:07 +0000 (16:16 +0900)
Doc update.

* nd/packobjectshook-doc-fix:
config.txt: correct the note about uploadpack.packObjectsHook

1  2 
Documentation/config.txt
diff --combined Documentation/config.txt
index 7d58253368ce5eed36d6ccf2d757c87a1343fc5b,8de50b086a5985ccfa022a86c24e7afd32ba5eee..f6f4c21a54579934ef8a413c4f77787911ed14c9
@@@ -41,13 -41,11 +41,13 @@@ in the section header, like in the exam
  --------
  
  Subsection names are case sensitive and can contain any characters except
 -newline (doublequote `"` and backslash can be included by escaping them
 -as `\"` and `\\`, respectively).  Section headers cannot span multiple
 -lines.  Variables may belong directly to a section or to a given subsection.
 -You can have `[section]` if you have `[section "subsection"]`, but you
 -don't need to.
 +newline and the null byte. Doublequote `"` and backslash can be included
 +by escaping them as `\"` and `\\`, respectively. Backslashes preceding
 +other characters are dropped when reading; for example, `\t` is read as
 +`t` and `\0` is read as `0` Section headers cannot span multiple lines.
 +Variables may belong directly to a section or to a given subsection. You
 +can have `[section]` if you have `[section "subsection"]`, but you don't
 +need to.
  
  There is also a deprecated `[section.subsection]` syntax. With this
  syntax, the subsection name is converted to lower-case and is also
@@@ -225,7 -223,7 +225,7 @@@ boolean:
        false;; Boolean false literals are `no`, `off`, `false`,
                `0` and the empty string.
  +
 -When converting value to the canonical form using `--bool` type
 +When converting a value to its canonical form using the `--type=bool` type
  specifier, 'git config' will ensure that the output is "true" or
  "false" (spelled in lowercase).
  
@@@ -344,16 -342,6 +344,16 @@@ advice.*:
                Advice shown when you used linkgit:git-checkout[1] to
                move to the detach HEAD state, to instruct how to create
                a local branch after the fact.
 +      checkoutAmbiguousRemoteBranchName::
 +              Advice shown when the argument to
 +              linkgit:git-checkout[1] ambiguously resolves to a
 +              remote tracking branch on more than one remote in
 +              situations where an unambiguous argument would have
 +              otherwise caused a remote-tracking branch to be
 +              checked out. See the `checkout.defaultRemote`
 +              configuration variable for how to set a given remote
 +              to used by default in some situations where this
 +              advice would be printed.
        amWorkDir::
                Advice that shows the location of the patch file when
                linkgit:git-am[1] fails to apply it.
        addEmbeddedRepo::
                Advice on what to do when you've accidentally added one
                git repo inside of another.
 +      ignoredHook::
 +              Advice shown if a hook is ignored because the hook is not
 +              set as executable.
 +      waitingForEditor::
 +              Print a message to the terminal whenever Git is waiting for
 +              editor input from the user.
  --
  
  core.fileMode::
@@@ -400,19 -382,16 +400,19 @@@ core.hideDotFiles:
        default mode is 'dotGitOnly'.
  
  core.ignoreCase::
 -      If true, this option enables various workarounds to enable
 +      Internal variable which enables various workarounds to enable
        Git to work better on filesystems that are not case sensitive,
 -      like FAT. For example, if a directory listing finds
 -      "makefile" when Git expects "Makefile", Git will assume
 +      like APFS, HFS+, FAT, NTFS, etc. For example, if a directory listing
 +      finds "makefile" when Git expects "Makefile", Git will assume
        it is really the same file, and continue to remember it as
        "Makefile".
  +
  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
  will probe and set core.ignoreCase true if appropriate when the repository
  is created.
 ++
 +Git relies on the proper configuration of this variable for your operating
 +and file system. Modifying this value may result in unexpected behavior.
  
  core.precomposeUnicode::
        This option is only used by Mac OS implementation of Git.
@@@ -434,13 -413,6 +434,13 @@@ core.protectNTFS:
        8.3 "short" names.
        Defaults to `true` on Windows, and `false` elsewhere.
  
 +core.fsmonitor::
 +      If set, the value of this variable is used as a command which
 +      will identify all files that may have changed since the
 +      requested date/time. This information is used to speed up git by
 +      avoiding unnecessary processing of files that have not changed.
 +      See the "fsmonitor-watchman" section of linkgit:githooks[5].
 +
  core.trustctime::
        If false, the ctime differences between the index and the
        working tree are ignored; useful when the inode change time
@@@ -462,20 -434,10 +462,20 @@@ core.untrackedCache:
        See linkgit:git-update-index[1]. `keep` by default.
  
  core.checkStat::
 -      Determines which stat fields to match between the index
 -      and work tree. The user can set this to 'default' or
 -      'minimal'. Default (or explicitly 'default'), is to check
 -      all fields, including the sub-second part of mtime and ctime.
 +      When missing or is set to `default`, many fields in the stat
 +      structure are checked to detect if a file has been modified
 +      since Git looked at it.  When this configuration variable is
 +      set to `minimal`, sub-second part of mtime and ctime, the
 +      uid and gid of the owner of the file, the inode number (and
 +      the device number, if Git was compiled to use it), are
 +      excluded from the check among these fields, leaving only the
 +      whole-second part of mtime (and ctime, if `core.trustCtime`
 +      is set) and the filesize to be checked.
 ++
 +There are implementations of Git that do not leave usable values in
 +some fields (e.g. JGit); by excluding these fields from the
 +comparison, the `minimal` mode may help interoperability when the
 +same repository is used by these other systems at the same time.
  
  core.quotePath::
        Commands that output paths (e.g. 'ls-files', 'diff'), will
@@@ -553,12 -515,6 +553,12 @@@ core.autocrlf:
        This variable can be set to 'input',
        in which case no output conversion is performed.
  
 +core.checkRoundtripEncoding::
 +      A comma and/or whitespace separated list of encodings that Git
 +      performs UTF-8 round trip checks on if they are used in an
 +      `working-tree-encoding` attribute (see linkgit:gitattributes[5]).
 +      The default value is `SHIFT-JIS`.
 +
  core.symlinks::
        If false, symbolic links are checked out as small plain files that
        contain the link text. linkgit:git-update-index[1] and
@@@ -832,6 -788,12 +832,6 @@@ core.packedRefsTimeout:
        all; -1 means to try indefinitely. Default is 1000 (i.e.,
        retry for 1 second).
  
 -sequence.editor::
 -      Text editor used by `git rebase -i` for editing the rebase instruction file.
 -      The value is meant to be interpreted by the shell when it is used.
 -      It can be overridden by the `GIT_SEQUENCE_EDITOR` environment variable.
 -      When not configured the default commit message editor is used instead.
 -
  core.pager::
        Text viewer for use by Git commands (e.g., 'less').  The value
        is meant to be interpreted by the shell.  The order of preference
@@@ -921,21 -883,6 +921,21 @@@ core.notesRef:
  This setting defaults to "refs/notes/commits", and it can be overridden by
  the `GIT_NOTES_REF` environment variable.  See linkgit:git-notes[1].
  
 +core.commitGraph::
 +      If true, then git will read the commit-graph file (if it exists)
 +      to parse the graph structure of commits. Defaults to false. See
 +      linkgit:git-commit-graph[1] for more information.
 +
 +core.useReplaceRefs::
 +      If set to `false`, behave as if the `--no-replace-objects`
 +      option was given on the command line. See linkgit:git[1] and
 +      linkgit:git-replace[1] for more information.
 +
 +core.multiPackIndex::
 +      Use the multi-pack-index file to track multiple packfiles using a
 +      single index. See link:technical/multi-pack-index.html[the
 +      multi-pack-index design document].
 +
  core.sparseCheckout::
        Enable "sparse checkout" feature. See section "Sparse checkout" in
        linkgit:git-read-tree[1] for more information.
@@@ -1002,28 -949,6 +1002,28 @@@ apply.whitespace:
        Tells 'git apply' how to handle whitespaces, in the same way
        as the `--whitespace` option. See linkgit:git-apply[1].
  
 +blame.blankBoundary::
 +      Show blank commit object name for boundary commits in
 +      linkgit:git-blame[1]. This option defaults to false.
 +
 +blame.coloring::
 +      This determines the coloring scheme to be applied to blame
 +      output. It can be 'repeatedLines', 'highlightRecent',
 +      or 'none' which is the default.
 +
 +blame.date::
 +      Specifies the format used to output dates in linkgit:git-blame[1].
 +      If unset the iso format is used. For supported values,
 +      see the discussion of the `--date` option at linkgit:git-log[1].
 +
 +blame.showEmail::
 +      Show the author email instead of author name in linkgit:git-blame[1].
 +      This option defaults to false.
 +
 +blame.showRoot::
 +      Do not treat root commits as boundaries in linkgit:git-blame[1].
 +      This option defaults to false.
 +
  branch.autoSetupMerge::
        Tells 'git branch' and 'git checkout' to set up new branches
        so that linkgit:git-pull[1] will appropriately merge from the
@@@ -1051,12 -976,6 +1051,12 @@@ branch.autoSetupRebase:
        branch to track another branch.
        This option defaults to never.
  
 +branch.sort::
 +      This variable controls the sort ordering of branches when displayed by
 +      linkgit:git-branch[1]. Without the "--sort=<value>" option provided, the
 +      value of this variable will be used as the default.
 +      See linkgit:git-for-each-ref[1] field names for valid values.
 +
  branch.<name>.remote::
        When on branch <name>, it tells 'git fetch' and 'git push'
        which remote to fetch from/push to.  The remote to push to
@@@ -1107,10 -1026,6 +1107,10 @@@ branch.<name>.rebase:
        "git pull" is run. See "pull.rebase" for doing this in a non
        branch-specific manner.
  +
 +When `merges`, pass the `--rebase-merges` option to 'git rebase'
 +so that the local merge commits are included in the rebase (see
 +linkgit:git-rebase[1] for details).
 ++
  When preserve, also pass `--preserve-merges` along to 'git rebase'
  so that locally committed merge commits will not be flattened
  by running 'git pull'.
@@@ -1137,66 -1052,10 +1137,66 @@@ browser.<tool>.path:
        browse HTML help (see `-w` option in linkgit:git-help[1]) or a
        working repository in gitweb (see linkgit:git-instaweb[1]).
  
 +checkout.defaultRemote::
 +      When you run 'git checkout <something>' and only have one
 +      remote, it may implicitly fall back on checking out and
 +      tracking e.g. 'origin/<something>'. This stops working as soon
 +      as you have more than one remote with a '<something>'
 +      reference. This setting allows for setting the name of a
 +      preferred remote that should always win when it comes to
 +      disambiguation. The typical use-case is to set this to
 +      `origin`.
 ++
 +Currently this is used by linkgit:git-checkout[1] when 'git checkout
 +<something>' will checkout the '<something>' branch on another remote,
 +and by linkgit:git-worktree[1] when 'git worktree add' refers to a
 +remote branch. This setting might be used for other checkout-like
 +commands or functionality in the future.
 +
 +checkout.optimizeNewBranch::
 +      Optimizes the performance of "git checkout -b <new_branch>" when
 +      using sparse-checkout.  When set to true, git will not update the
 +      repo based on the current sparse-checkout settings.  This means it
 +      will not update the skip-worktree bit in the index nor add/remove
 +      files in the working directory to reflect the current sparse checkout
 +      settings nor will it show the local changes.
 +
  clean.requireForce::
        A boolean to make git-clean do nothing unless given -f,
        -i or -n.   Defaults to true.
  
 +color.advice::
 +      A boolean to enable/disable color in hints (e.g. when a push
 +      failed, see `advice.*` for a list).  May be set to `always`,
 +      `false` (or `never`) or `auto` (or `true`), in which case colors
 +      are used only when the error output goes to a terminal. If
 +      unset, then the value of `color.ui` is used (`auto` by default).
 +
 +color.advice.hint::
 +      Use customized color for hints.
 +
 +color.blame.highlightRecent::
 +      This can be used to color the metadata of a blame line depending
 +      on age of the line.
 ++
 +This setting should be set to a comma-separated list of color and date settings,
 +starting and ending with a color, the dates should be set from oldest to newest.
 +The metadata will be colored given the colors if the the line was introduced
 +before the given timestamp, overwriting older timestamped colors.
 ++
 +Instead of an absolute timestamp relative timestamps work as well, e.g.
 +2.weeks.ago is valid to address anything older than 2 weeks.
 ++
 +It defaults to 'blue,12 month ago,white,1 month ago,red', which colors
 +everything older than one year blue, recent changes between one month and
 +one year old are kept white, and lines introduced within the last month are
 +colored red.
 +
 +color.blame.repeatedLines::
 +      Use the customized color for the part of git-blame output that
 +      is repeated meta information per line (such as commit id,
 +      author name, date and timezone). Defaults to cyan.
 +
  color.branch::
        A boolean to enable/disable color in the output of
        linkgit:git-branch[1]. May be set to `always`,
@@@ -1224,6 -1083,13 +1224,6 @@@ This does not affect linkgit:git-format
  'git-diff-{asterisk}' plumbing commands.  Can be overridden on the
  command line with the `--color[=<when>]` option.
  
 -diff.colorMoved::
 -      If set to either a valid `<mode>` or a true value, moved lines
 -      in a diff are colored differently, for details of valid modes
 -      see '--color-moved' in linkgit:git-diff[1]. If simply set to
 -      true the default color mode will be used. When set to false,
 -      moved lines are not colored.
 -
  color.diff.<slot>::
        Use customized color for diff colorization.  `<slot>` specifies
        which part of the patch to use the specified color, and is one
        (highlighting whitespace errors), `oldMoved` (deleted lines),
        `newMoved` (added lines), `oldMovedDimmed`, `oldMovedAlternative`,
        `oldMovedAlternativeDimmed`, `newMovedDimmed`, `newMovedAlternative`
 -      and `newMovedAlternativeDimmed` (See the '<mode>'
 -      setting of '--color-moved' in linkgit:git-diff[1] for details).
 +      `newMovedAlternativeDimmed` (See the '<mode>'
 +      setting of '--color-moved' in linkgit:git-diff[1] for details),
 +      `contextDimmed`, `oldDimmed`, `newDimmed`, `contextBold`,
 +      `oldBold`, and `newBold` (see linkgit:git-range-diff[1] for details).
  
  color.decorate.<slot>::
        Use customized color for 'git log --decorate' output.  `<slot>` is one
        of `branch`, `remoteBranch`, `tag`, `stash` or `HEAD` for local
 -      branches, remote-tracking branches, tags, stash and HEAD, respectively.
 +      branches, remote-tracking branches, tags, stash and HEAD, respectively
 +      and `grafted` for grafted commits.
  
  color.grep::
        When set to `always`, always highlight matches.  When `false` (or
@@@ -1262,10 -1125,8 +1262,10 @@@ color.grep.<slot>:
        filename prefix (when not using `-h`)
  `function`;;
        function name lines (when using `-p`)
 -`linenumber`;;
 +`lineNumber`;;
        line number prefix (when using `-n`)
 +`column`;;
 +      column number prefix (when using `--column`)
  `match`;;
        matching text (same as setting `matchContext` and `matchSelected`)
  `matchContext`;;
@@@ -1297,27 -1158,6 +1297,27 @@@ color.pager:
        A boolean to enable/disable colored output when the pager is in
        use (default is true).
  
 +color.push::
 +      A boolean to enable/disable color in push errors. May be set to
 +      `always`, `false` (or `never`) or `auto` (or `true`), in which
 +      case colors are used only when the error output goes to a terminal.
 +      If unset, then the value of `color.ui` is used (`auto` by default).
 +
 +color.push.error::
 +      Use customized color for push errors.
 +
 +color.remote::
 +      If set, keywords at the start of the line are highlighted. The
 +      keywords are "error", "warning", "hint" and "success", and are
 +      matched case-insensitively. May be set to `always`, `false` (or
 +      `never`) or `auto` (or `true`). If unset, then the value of
 +      `color.ui` is used (`auto` by default).
 +
 +color.remote.<slot>::
 +      Use customized color for each remote keyword. `<slot>` may be
 +      `hint`, `warning`, `success` or `error` which match the
 +      corresponding keyword.
 +
  color.showBranch::
        A boolean to enable/disable color in the output of
        linkgit:git-show-branch[1]. May be set to `always`,
@@@ -1346,15 -1186,6 +1346,15 @@@ color.status.<slot>:
        status short-format), or
        `unmerged` (files which have unmerged changes).
  
 +color.transport::
 +      A boolean to enable/disable color when pushes are rejected. May be
 +      set to `always`, `false` (or `never`) or `auto` (or `true`), in which
 +      case colors are used only when the error output goes to a terminal.
 +      If unset, then the value of `color.ui` is used (`auto` by default).
 +
 +color.transport.rejected::
 +      Use customized color when a push was rejected.
 +
  color.ui::
        This variable determines the default value for variables such
        as `color.diff` and `color.grep` that control the use of color
@@@ -1480,14 -1311,6 +1480,14 @@@ credential.<url>.*:
  credentialCache.ignoreSIGHUP::
        Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting.
  
 +completion.commands::
 +      This is only used by git-completion.bash to add or remove
 +      commands from the list of completed commands. Normally only
 +      porcelain commands and a few select others are completed. You
 +      can add more commands, separated by space, in this
 +      variable. Prefixing the command with '-' will remove it from
 +      the existing list.
 +
  include::diff-config.txt[]
  
  difftool.<tool>.path::
@@@ -1514,9 -1337,129 +1514,9 @@@ fastimport.unpackLimit:
        operation complete faster, especially on slow filesystems.  If
        not set, the value of `transfer.unpackLimit` is used instead.
  
 -fetch.recurseSubmodules::
 -      This option can be either set to a boolean value or to 'on-demand'.
 -      Setting it to a boolean changes the behavior of fetch and pull to
 -      unconditionally recurse into submodules when set to true or to not
 -      recurse at all when set to false. When set to 'on-demand' (the default
 -      value), fetch and pull will only recurse into a populated submodule
 -      when its superproject retrieves a commit that updates the submodule's
 -      reference.
 -
 -fetch.fsckObjects::
 -      If it is set to true, git-fetch-pack will check all fetched
 -      objects. It will abort in the case of a malformed object or a
 -      broken link. The result of an abort are only dangling objects.
 -      Defaults to false. If not set, the value of `transfer.fsckObjects`
 -      is used instead.
 -
 -fetch.unpackLimit::
 -      If the number of objects fetched over the Git native
 -      transfer is below this
 -      limit, then the objects will be unpacked into loose object
 -      files. However if the number of received objects equals or
 -      exceeds this limit then the received pack will be stored as
 -      a pack, after adding any missing delta bases.  Storing the
 -      pack from a push can make the push operation complete faster,
 -      especially on slow filesystems.  If not set, the value of
 -      `transfer.unpackLimit` is used instead.
 -
 -fetch.prune::
 -      If true, fetch will automatically behave as if the `--prune`
 -      option was given on the command line.  See also `remote.<name>.prune`.
 -
 -fetch.output::
 -      Control how ref update status is printed. Valid values are
 -      `full` and `compact`. Default value is `full`. See section
 -      OUTPUT in linkgit:git-fetch[1] for detail.
 -
 -format.attach::
 -      Enable multipart/mixed attachments as the default for
 -      'format-patch'.  The value can also be a double quoted string
 -      which will enable attachments as the default and set the
 -      value as the boundary.  See the --attach option in
 -      linkgit:git-format-patch[1].
 -
 -format.from::
 -      Provides the default value for the `--from` option to format-patch.
 -      Accepts a boolean value, or a name and email address.  If false,
 -      format-patch defaults to `--no-from`, using commit authors directly in
 -      the "From:" field of patch mails.  If true, format-patch defaults to
 -      `--from`, using your committer identity in the "From:" field of patch
 -      mails and including a "From:" field in the body of the patch mail if
 -      different.  If set to a non-boolean value, format-patch uses that
 -      value instead of your committer identity.  Defaults to false.
 -
 -format.numbered::
 -      A boolean which can enable or disable sequence numbers in patch
 -      subjects.  It defaults to "auto" which enables it only if there
 -      is more than one patch.  It can be enabled or disabled for all
 -      messages by setting it to "true" or "false".  See --numbered
 -      option in linkgit:git-format-patch[1].
 -
 -format.headers::
 -      Additional email headers to include in a patch to be submitted
 -      by mail.  See linkgit:git-format-patch[1].
 -
 -format.to::
 -format.cc::
 -      Additional recipients to include in a patch to be submitted
 -      by mail.  See the --to and --cc options in
 -      linkgit:git-format-patch[1].
 -
 -format.subjectPrefix::
 -      The default for format-patch is to output files with the '[PATCH]'
 -      subject prefix. Use this variable to change that prefix.
 -
 -format.signature::
 -      The default for format-patch is to output a signature containing
 -      the Git version number. Use this variable to change that default.
 -      Set this variable to the empty string ("") to suppress
 -      signature generation.
 -
 -format.signatureFile::
 -      Works just like format.signature except the contents of the
 -      file specified by this variable will be used as the signature.
 -
 -format.suffix::
 -      The default for format-patch is to output files with the suffix
 -      `.patch`. Use this variable to change that suffix (make sure to
 -      include the dot if you want it).
 -
 -format.pretty::
 -      The default pretty format for log/show/whatchanged command,
 -      See linkgit:git-log[1], linkgit:git-show[1],
 -      linkgit:git-whatchanged[1].
 -
 -format.thread::
 -      The default threading style for 'git format-patch'.  Can be
 -      a boolean value, or `shallow` or `deep`.  `shallow` threading
 -      makes every mail a reply to the head of the series,
 -      where the head is chosen from the cover letter, the
 -      `--in-reply-to`, and the first patch mail, in this order.
 -      `deep` threading makes every mail a reply to the previous one.
 -      A true boolean value is the same as `shallow`, and a false
 -      value disables threading.
 -
 -format.signOff::
 -      A boolean value which lets you enable the `-s/--signoff` option of
 -      format-patch by default. *Note:* Adding the Signed-off-by: line to a
 -      patch should be a conscious act and means that you certify you have
 -      the rights to submit this work under the same open source license.
 -      Please see the 'SubmittingPatches' document for further discussion.
 -
 -format.coverLetter::
 -      A boolean that controls whether to generate a cover-letter when
 -      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.
 -
 -format.useAutoBase::
 -      A boolean value which lets you enable the `--base=auto` option of
 -      format-patch by default.
 +include::fetch-config.txt[]
 +
 +include::format-config.txt[]
  
  filter.<driver>.clean::
        The command which is used to convert the content of a worktree
@@@ -1529,72 -1472,23 +1529,72 @@@ filter.<driver>.smudge:
        linkgit:gitattributes[5] for details.
  
  fsck.<msg-id>::
 -      Allows overriding the message type (error, warn or ignore) of a
 -      specific message ID such as `missingEmail`.
 -+
 -For convenience, fsck prefixes the error/warning with the message ID,
 -e.g.  "missingEmail: invalid author/committer line - missing email" means
 -that setting `fsck.missingEmail = ignore` will hide that issue.
 -+
 -This feature is intended to support working with legacy repositories
 -which cannot be repaired without disruptive changes.
 +      During fsck git may find issues with legacy data which
 +      wouldn't be generated by current versions of git, and which
 +      wouldn't be sent over the wire if `transfer.fsckObjects` was
 +      set. This feature is intended to support working with legacy
 +      repositories containing such data.
 ++
 +Setting `fsck.<msg-id>` will be picked up by linkgit:git-fsck[1], but
 +to accept pushes of such data set `receive.fsck.<msg-id>` instead, or
 +to clone or fetch it set `fetch.fsck.<msg-id>`.
 ++
 +The rest of the documentation discusses `fsck.*` for brevity, but the
 +same applies for the corresponding `receive.fsck.*` and
 +`fetch.<msg-id>.*`. variables.
 ++
 +Unlike variables like `color.ui` and `core.editor` the
 +`receive.fsck.<msg-id>` and `fetch.fsck.<msg-id>` variables will not
 +fall back on the `fsck.<msg-id>` configuration if they aren't set. To
 +uniformly configure the same fsck settings in different circumstances
 +all three of them they must all set to the same values.
 ++
 +When `fsck.<msg-id>` is set, errors can be switched to warnings and
 +vice versa by configuring the `fsck.<msg-id>` setting where the
 +`<msg-id>` is the fsck message ID and the value is one of `error`,
 +`warn` or `ignore`. For convenience, fsck prefixes the error/warning
 +with the message ID, e.g. "missingEmail: invalid author/committer line
 +- missing email" means that setting `fsck.missingEmail = ignore` will
 +hide that issue.
 ++
 +In general, it is better to enumerate existing objects with problems
 +with `fsck.skipList`, instead of listing the kind of breakages these
 +problematic objects share to be ignored, as doing the latter will
 +allow new instances of the same breakages go unnoticed.
 ++
 +Setting an unknown `fsck.<msg-id>` value will cause fsck to die, but
 +doing the same for `receive.fsck.<msg-id>` and `fetch.fsck.<msg-id>`
 +will only cause git to warn.
  
  fsck.skipList::
 -      The path to a sorted list of object names (i.e. one SHA-1 per
 +      The path to a list of object names (i.e. one unabbreviated SHA-1 per
        line) that are known to be broken in a non-fatal way and should
 -      be ignored. This feature is useful when an established project
 -      should be accepted despite early commits containing errors that
 -      can be safely ignored such as invalid committer email addresses.
 -      Note: corrupt objects cannot be skipped with this setting.
 +      be ignored. On versions of Git 2.20 and later comments ('#'), empty
 +      lines, and any leading and trailing whitespace is ignored. Everything
 +      but a SHA-1 per line will error out on older versions.
 ++
 +This feature is useful when an established project should be accepted
 +despite early commits containing errors that can be safely ignored
 +such as invalid committer email addresses.  Note: corrupt objects
 +cannot be skipped with this setting.
 ++
 +Like `fsck.<msg-id>` this variable has corresponding
 +`receive.fsck.skipList` and `fetch.fsck.skipList` variants.
 ++
 +Unlike variables like `color.ui` and `core.editor` the
 +`receive.fsck.skipList` and `fetch.fsck.skipList` variables will not
 +fall back on the `fsck.skipList` configuration if they aren't set. To
 +uniformly configure the same fsck settings in different circumstances
 +all three of them they must all set to the same values.
 ++
 +Older versions of Git (before 2.20) documented that the object names
 +list should be sorted. This was never a requirement, the object names
 +could appear in any order, but when reading the list we tracked whether
 +the list was sorted for the purposes of an internal binary search
 +implementation, which could save itself some work with an already sorted
 +list. Unless you had a humongous list there was no reason to go out of
 +your way to pre-sort the list. After Git version 2.20 a hash implementation
 +is used instead, so there's now no reason to pre-sort the list.
  
  gc.aggressiveDepth::
        The depth parameter used in the delta compression
@@@ -1623,28 -1517,8 +1623,28 @@@ gc.autoDetach:
        Make `git gc --auto` return immediately and run in background
        if the system supports it. Default is true.
  
 +gc.bigPackThreshold::
 +      If non-zero, all packs larger than this limit are kept when
 +      `git gc` is run. This is very similar to `--keep-base-pack`
 +      except that all packs that meet the threshold are kept, not
 +      just the base pack. Defaults to zero. Common unit suffixes of
 +      'k', 'm', or 'g' are supported.
 ++
 +Note that if the number of kept packs is more than gc.autoPackLimit,
 +this configuration variable is ignored, all packs except the base pack
 +will be repacked. After this the number of packs should go below
 +gc.autoPackLimit and gc.bigPackThreshold should be respected again.
 +
 +gc.writeCommitGraph::
 +      If true, then gc will rewrite the commit-graph file when
 +      linkgit:git-gc[1] is run. When using linkgit:git-gc[1]
 +      '--auto' the commit-graph will be updated if housekeeping is
 +      required. Default is false. See linkgit:git-commit-graph[1]
 +      for details.
 +
  gc.logExpiry::
 -      If the file gc.log exists, then `git gc --auto` won't run
 +      If the file gc.log exists, then `git gc --auto` will print
 +      its content and exit with status zero instead of running
        unless that file is more than 'gc.logExpiry' old.  Default is
        "1.day".  See `gc.pruneExpire` for more ways to specify its
        value.
@@@ -1705,7 -1579,73 +1705,7 @@@ gc.rerereUnresolved:
        You can also use more human-readable "1.month.ago", etc.
        The default is 15 days.  See linkgit:git-rerere[1].
  
 -gitcvs.commitMsgAnnotation::
 -      Append this string to each commit message. Set to empty string
 -      to disable this feature. Defaults to "via git-CVS emulator".
 -
 -gitcvs.enabled::
 -      Whether the CVS server interface is enabled for this repository.
 -      See linkgit:git-cvsserver[1].
 -
 -gitcvs.logFile::
 -      Path to a log file where the CVS server interface well... logs
 -      various stuff. See linkgit:git-cvsserver[1].
 -
 -gitcvs.usecrlfattr::
 -      If true, the server will look up the end-of-line conversion
 -      attributes for files to determine the `-k` modes to use. If
 -      the attributes force Git to treat a file as text,
 -      the `-k` mode will be left blank so CVS clients will
 -      treat it as text. If they suppress text conversion, the file
 -      will be set with '-kb' mode, which suppresses any newline munging
 -      the client might otherwise do. If the attributes do not allow
 -      the file type to be determined, then `gitcvs.allBinary` is
 -      used. See linkgit:gitattributes[5].
 -
 -gitcvs.allBinary::
 -      This is used if `gitcvs.usecrlfattr` does not resolve
 -      the correct '-kb' mode to use. If true, all
 -      unresolved files are sent to the client in
 -      mode '-kb'. This causes the client to treat them
 -      as binary files, which suppresses any newline munging it
 -      otherwise might do. Alternatively, if it is set to "guess",
 -      then the contents of the file are examined to decide if
 -      it is binary, similar to `core.autocrlf`.
 -
 -gitcvs.dbName::
 -      Database used by git-cvsserver to cache revision information
 -      derived from the Git repository. The exact meaning depends on the
 -      used database driver, for SQLite (which is the default driver) this
 -      is a filename. Supports variable substitution (see
 -      linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).
 -      Default: '%Ggitcvs.%m.sqlite'
 -
 -gitcvs.dbDriver::
 -      Used Perl DBI driver. You can specify any available driver
 -      for this here, but it might not work. git-cvsserver is tested
 -      with 'DBD::SQLite', reported to work with 'DBD::Pg', and
 -      reported *not* to work with 'DBD::mysql'. Experimental feature.
 -      May not contain double colons (`:`). Default: 'SQLite'.
 -      See linkgit:git-cvsserver[1].
 -
 -gitcvs.dbUser, gitcvs.dbPass::
 -      Database user and password. Only useful if setting `gitcvs.dbDriver`,
 -      since SQLite has no concept of database users and/or passwords.
 -      'gitcvs.dbUser' supports variable substitution (see
 -      linkgit:git-cvsserver[1] for details).
 -
 -gitcvs.dbTableNamePrefix::
 -      Database table name prefix.  Prepended to the names of any
 -      database tables used, allowing a single database to be used
 -      for several repositories.  Supports variable substitution (see
 -      linkgit:git-cvsserver[1] for details).  Any non-alphabetic
 -      characters will be replaced with underscores.
 -
 -All gitcvs variables except for `gitcvs.usecrlfattr` and
 -`gitcvs.allBinary` can also be specified as
 -'gitcvs.<access_method>.<varname>' (where 'access_method'
 -is one of "ext" and "pserver") to make them apply only for the given
 -access method.
 +include::gitcvs-config.txt[]
  
  gitweb.category::
  gitweb.description::
@@@ -1727,9 -1667,6 +1727,9 @@@ gitweb.snapshot:
  grep.lineNumber::
        If set to true, enable `-n` option by default.
  
 +grep.column::
 +      If set to true, enable the `--column` 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`,
@@@ -1760,17 -1697,63 +1760,17 @@@ gpg.program:
        signed, and the program is expected to send the result to its
        standard output.
  
 -gui.commitMsgWidth::
 -      Defines how wide the commit message window is in the
 -      linkgit:git-gui[1]. "75" is the default.
 -
 -gui.diffContext::
 -      Specifies how many context lines should be used in calls to diff
 -      made by the linkgit:git-gui[1]. The default is "5".
 -
 -gui.displayUntracked::
 -      Determines if linkgit:git-gui[1] shows untracked files
 -      in the file list. The default is "true".
 -
 -gui.encoding::
 -      Specifies the default encoding to use for displaying of
 -      file contents in linkgit:git-gui[1] and linkgit:gitk[1].
 -      It can be overridden by setting the 'encoding' attribute
 -      for relevant files (see linkgit:gitattributes[5]).
 -      If this option is not set, the tools default to the
 -      locale encoding.
 -
 -gui.matchTrackingBranch::
 -      Determines if new branches created with linkgit:git-gui[1] should
 -      default to tracking remote branches with matching names or
 -      not. Default: "false".
 -
 -gui.newBranchTemplate::
 -      Is used as suggested name when creating new branches using the
 -      linkgit:git-gui[1].
 -
 -gui.pruneDuringFetch::
 -      "true" if linkgit:git-gui[1] should prune remote-tracking branches when
 -      performing a fetch. The default value is "false".
 -
 -gui.trustmtime::
 -      Determines if linkgit:git-gui[1] should trust the file modification
 -      timestamp or not. By default the timestamps are not trusted.
 -
 -gui.spellingDictionary::
 -      Specifies the dictionary used for spell checking commit messages in
 -      the linkgit:git-gui[1]. When set to "none" spell checking is turned
 -      off.
 -
 -gui.fastCopyBlame::
 -      If true, 'git gui blame' uses `-C` instead of `-C -C` for original
 -      location detection. It makes blame significantly faster on huge
 -      repositories at the expense of less thorough copy detection.
 -
 -gui.copyBlameThreshold::
 -      Specifies the threshold to use in 'git gui blame' original location
 -      detection, measured in alphanumeric characters. See the
 -      linkgit:git-blame[1] manual for more information on copy detection.
 -
 -gui.blamehistoryctx::
 -      Specifies the radius of history context in days to show in
 -      linkgit:gitk[1] for the selected commit, when the `Show History
 -      Context` menu item is invoked from 'git gui blame'. If this
 -      variable is set to zero, the whole history is shown.
 +gpg.format::
 +      Specifies which key format to use when signing with `--gpg-sign`.
 +      Default is "openpgp" and another possible value is "x509".
 +
 +gpg.<format>.program::
 +      Use this to customize the program used for the signing format you
 +      chose. (see `gpg.program` and `gpg.format`) `gpg.program` can still
 +      be used as a legacy synonym for `gpg.openpgp.program`. The default
 +      value for `gpg.x509.program` is "gpgsm".
 +
 +include::gui-config.txt[]
  
  guitool.<name>.cmd::
        Specifies the shell command line to execute when the corresponding item
@@@ -1933,7 -1916,6 +1933,7 @@@ http.sslVersion:
        - tlsv1.0
        - tlsv1.1
        - tlsv1.2
 +      - tlsv1.3
  
  +
  Can be overridden by the `GIT_SSL_VERSION` environment variable.
@@@ -1956,8 -1938,8 +1956,8 @@@ empty string
  
  http.sslVerify::
        Whether to verify the SSL certificate when fetching or pushing
 -      over HTTPS. Can be overridden by the `GIT_SSL_NO_VERIFY` environment
 -      variable.
 +      over HTTPS. Defaults to true. Can be overridden by the
 +      `GIT_SSL_NO_VERIFY` environment variable.
  
  http.sslCert::
        File containing the SSL certificate when fetching or pushing
@@@ -2099,40 -2081,15 +2099,40 @@@ matched against are those given directl
  visited as a result of a redirection do not participate in matching.
  
  ssh.variant::
 -      Depending on the value of the environment variables `GIT_SSH` or
 -      `GIT_SSH_COMMAND`, or the config setting `core.sshCommand`, Git
 -      auto-detects whether to adjust its command-line parameters for use
 -      with plink or tortoiseplink, as opposed to the default (OpenSSH).
 +      By default, Git determines the command line arguments to use
 +      based on the basename of the configured SSH command (configured
 +      using the environment variable `GIT_SSH` or `GIT_SSH_COMMAND` or
 +      the config setting `core.sshCommand`). If the basename is
 +      unrecognized, Git will attempt to detect support of OpenSSH
 +      options by first invoking the configured SSH command with the
 +      `-G` (print configuration) option and will subsequently use
 +      OpenSSH options (if that is successful) or no options besides
 +      the host and remote command (if it fails).
 ++
 +The config variable `ssh.variant` can be set to override this detection.
 +Valid values are `ssh` (to use OpenSSH options), `plink`, `putty`,
 +`tortoiseplink`, `simple` (no options except the host and remote command).
 +The default auto-detection can be explicitly requested using the value
 +`auto`.  Any other value is treated as `ssh`.  This setting can also be
 +overridden via the environment variable `GIT_SSH_VARIANT`.
 ++
 +The current command-line parameters used for each variant are as
 +follows:
 ++
 +--
 +
 +* `ssh` - [-p port] [-4] [-6] [-o option] [username@]host command
 +
 +* `simple` - [username@]host command
 +
 +* `plink` or `putty` - [-P port] [-4] [-6] [username@]host command
 +
 +* `tortoiseplink` - [-P port] [-4] [-6] -batch [username@]host command
 +
 +--
  +
 -The config variable `ssh.variant` can be set to override this auto-detection;
 -valid values are `ssh`, `plink`, `putty` or `tortoiseplink`. Any other value
 -will be treated as normal ssh. This setting can be overridden via the
 -environment variable `GIT_SSH_VARIANT`.
 +Except for the `simple` variant, command-line parameters are likely to
 +change as git gains new features.
  
  i18n.commitEncoding::
        Character encoding the commit messages are stored in; Git itself
@@@ -2398,7 -2355,6 +2398,7 @@@ pack.window:
  pack.depth::
        The maximum delta depth used by linkgit:git-pack-objects[1] when no
        maximum depth is given on the command line. Defaults to 50.
 +      Maximum value is 4095.
  
  pack.windowMemory::
        The maximum size of memory that is consumed by each thread
@@@ -2420,21 -2376,6 +2420,21 @@@ Note that changing the compression leve
  all existing objects. You can force recompression by passing the -F option
  to linkgit:git-repack[1].
  
 +pack.island::
 +      An extended regular expression configuring a set of delta
 +      islands. See "DELTA ISLANDS" in linkgit:git-pack-objects[1]
 +      for details.
 +
 +pack.islandCore::
 +      Specify an island name which gets to have its objects be
 +      packed first. This creates a kind of pseudo-pack at the front
 +      of one pack, so that the objects from the specified island are
 +      hopefully faster to copy into any pack that should be served
 +      to a user requesting these objects. In practice this means
 +      that the island specified should likely correspond to what is
 +      the most commonly cloned in the repo. See also "DELTA ISLANDS"
 +      in linkgit:git-pack-objects[1].
 +
  pack.deltaCacheSize::
        The maximum memory in bytes used for caching deltas in
        linkgit:git-pack-objects[1] before writing them out to a pack.
@@@ -2450,8 -2391,7 +2450,8 @@@ pack.deltaCacheLimit:
        The maximum size of a delta, that is cached in
        linkgit:git-pack-objects[1]. This cache is used to speed up the
        writing object phase by not having to recompute the final delta
 -      result once the best match for all objects is found. Defaults to 1000.
 +      result once the best match for all objects is found.
 +      Defaults to 1000. Maximum value is 65535.
  
  pack.threads::
        Specifies the number of threads to spawn when searching for best
@@@ -2577,32 -2517,289 +2577,32 @@@ The protocol names currently used by gi
      `hg` to allow the `git-remote-hg` helper)
  --
  
 -pull.ff::
 -      By default, Git does not create an extra merge commit when merging
 -      a commit that is a descendant of the current commit. Instead, the
 -      tip of the current branch is fast-forwarded. When set to `false`,
 -      this variable tells Git to create an extra merge commit in such
 -      a case (equivalent to giving the `--no-ff` option from the command
 -      line). When set to `only`, only such fast-forward merges are
 -      allowed (equivalent to giving the `--ff-only` option from the
 -      command line). This setting overrides `merge.ff` when pulling.
 -
 -pull.rebase::
 -      When true, rebase branches on top of the fetched branch, instead
 -      of merging the default branch from the default remote when "git
 -      pull" is run. See "branch.<name>.rebase" for setting this on a
 -      per-branch basis.
 -+
 -When preserve, also pass `--preserve-merges` along to 'git rebase'
 -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).
 -
 -pull.octopus::
 -      The default merge strategy to use when pulling multiple branches
 -      at once.
 -
 -pull.twohead::
 -      The default merge strategy to use when pulling a single branch.
 -
 -push.default::
 -      Defines the action `git push` should take if no refspec is
 -      explicitly given.  Different values are well-suited for
 -      specific workflows; for instance, in a purely central workflow
 -      (i.e. the fetch source is equal to the push destination),
 -      `upstream` is probably what you want.  Possible values are:
 +protocol.version::
 +      Experimental. If set, clients will attempt to communicate with a
 +      server using the specified protocol version.  If unset, no
 +      attempt will be made by the client to communicate using a
 +      particular protocol version, this results in protocol version 0
 +      being used.
 +      Supported versions:
  +
  --
  
 -* `nothing` - do not push anything (error out) unless a refspec is
 -  explicitly given. This is primarily meant for people who want to
 -  avoid mistakes by always being explicit.
 -
 -* `current` - push the current branch to update a branch with the same
 -  name on the receiving end.  Works in both central and non-central
 -  workflows.
 -
 -* `upstream` - push the current branch back to the branch whose
 -  changes are usually integrated into the current branch (which is
 -  called `@{upstream}`).  This mode only makes sense if you are
 -  pushing to the same repository you would normally pull from
 -  (i.e. central workflow).
 +* `0` - the original wire protocol.
  
 -* `tracking` - This is a deprecated synonym for `upstream`.
 -
 -* `simple` - in centralized workflow, work like `upstream` with an
 -  added safety to refuse to push if the upstream branch's name is
 -  different from the local one.
 -+
 -When pushing to a remote that is different from the remote you normally
 -pull from, work as `current`.  This is the safest option and is suited
 -for beginners.
 -+
 -This mode has become the default in Git 2.0.
 +* `1` - the original wire protocol with the addition of a version string
 +  in the initial response from the server.
  
 -* `matching` - push all branches having the same name on both ends.
 -  This makes the repository you are pushing to remember the set of
 -  branches that will be pushed out (e.g. if you always push 'maint'
 -  and 'master' there and no other branches, the repository you push
 -  to will have these two branches, and your local 'maint' and
 -  'master' will be pushed there).
 -+
 -To use this mode effectively, you have to make sure _all_ the
 -branches you would push out are ready to be pushed out before
 -running 'git push', as the whole point of this mode is to allow you
 -to push all of the branches in one go.  If you usually finish work
 -on only one branch and push out the result, while other branches are
 -unfinished, this mode is not for you.  Also this mode is not
 -suitable for pushing into a shared central repository, as other
 -people may add new branches there, or update the tip of existing
 -branches outside your control.
 -+
 -This used to be the default, but not since Git 2.0 (`simple` is the
 -new default).
 +* `2` - link:technical/protocol-v2.html[wire protocol version 2].
  
  --
  
 -push.followTags::
 -      If set to true enable `--follow-tags` option by default.  You
 -      may override this configuration at time of push by specifying
 -      `--no-follow-tags`.
 -
 -push.gpgSign::
 -      May be set to a boolean value, or the string 'if-asked'. A true
 -      value causes all pushes to be GPG signed, as if `--signed` is
 -      passed to linkgit:git-push[1]. The string 'if-asked' causes
 -      pushes to be signed if the server supports it, as if
 -      `--signed=if-asked` is passed to 'git push'. A false value may
 -      override a value from a lower-priority config file. An explicit
 -      command-line flag always overrides this config option.
 -
 -push.recurseSubmodules::
 -      Make sure all submodule commits used by the revisions to be pushed
 -      are available on a remote-tracking branch. If the value is 'check'
 -      then Git will verify that all submodule commits that changed in the
 -      revisions to be pushed are available on at least one remote of the
 -      submodule. If any commits are missing, the push will be aborted and
 -      exit with non-zero status. If the value is 'on-demand' then all
 -      submodules that changed in the revisions to be pushed will be
 -      pushed. If on-demand was not able to push all necessary revisions
 -      it will also be aborted and exit with non-zero status. If the value
 -      is 'no' then default behavior of ignoring submodules when pushing
 -      is retained. You may override this configuration at time of push by
 -      specifying '--recurse-submodules=check|on-demand|no'.
 -
 -rebase.stat::
 -      Whether to show a diffstat of what changed upstream since the last
 -      rebase. False by default.
 -
 -rebase.autoSquash::
 -      If set to true enable `--autosquash` option by default.
 -
 -rebase.autoStash::
 -      When set to true, automatically create a temporary stash entry
 -      before the operation begins, and apply it after the operation
 -      ends.  This means that you can run rebase on a dirty worktree.
 -      However, use with care: the final stash application after a
 -      successful rebase might result in non-trivial conflicts.
 -      Defaults to false.
 +include::pull-config.txt[]
  
 -rebase.missingCommitsCheck::
 -      If set to "warn", git rebase -i will print a warning if some
 -      commits are removed (e.g. a line was deleted), however the
 -      rebase will still proceed. If set to "error", it will print
 -      the previous warning and stop the rebase, 'git rebase
 -      --edit-todo' can then be used to correct the error. If set to
 -      "ignore", no checking is done.
 -      To drop a commit without warning or error, use the `drop`
 -      command in the todo-list.
 -      Defaults to "ignore".
 -
 -rebase.instructionFormat::
 -      A format string, as specified in linkgit:git-log[1], to be used for
 -      the instruction list during an interactive rebase.  The format will automatically
 -      have the long commit hash prepended to the format.
 -
 -receive.advertiseAtomic::
 -      By default, git-receive-pack will advertise the atomic push
 -      capability to its clients. If you don't want to advertise this
 -      capability, set this variable to false.
 -
 -receive.advertisePushOptions::
 -      When set to true, git-receive-pack will advertise the push options
 -      capability to its clients. False by default.
 -
 -receive.autogc::
 -      By default, git-receive-pack will run "git-gc --auto" after
 -      receiving data from git-push and updating refs.  You can stop
 -      it by setting this variable to false.
 -
 -receive.certNonceSeed::
 -      By setting this variable to a string, `git receive-pack`
 -      will accept a `git push --signed` and verifies it by using
 -      a "nonce" protected by HMAC using this string as a secret
 -      key.
 -
 -receive.certNonceSlop::
 -      When a `git push --signed` sent a push certificate with a
 -      "nonce" that was issued by a receive-pack serving the same
 -      repository within this many seconds, export the "nonce"
 -      found in the certificate to `GIT_PUSH_CERT_NONCE` to the
 -      hooks (instead of what the receive-pack asked the sending
 -      side to include).  This may allow writing checks in
 -      `pre-receive` and `post-receive` a bit easier.  Instead of
 -      checking `GIT_PUSH_CERT_NONCE_SLOP` environment variable
 -      that records by how many seconds the nonce is stale to
 -      decide if they want to accept the certificate, they only
 -      can check `GIT_PUSH_CERT_NONCE_STATUS` is `OK`.
 -
 -receive.fsckObjects::
 -      If it is set to true, git-receive-pack will check all received
 -      objects. It will abort in the case of a malformed object or a
 -      broken link. The result of an abort are only dangling objects.
 -      Defaults to false. If not set, the value of `transfer.fsckObjects`
 -      is used instead.
 -
 -receive.fsck.<msg-id>::
 -      When `receive.fsckObjects` is set to true, errors can be switched
 -      to warnings and vice versa by configuring the `receive.fsck.<msg-id>`
 -      setting where the `<msg-id>` is the fsck message ID and the value
 -      is one of `error`, `warn` or `ignore`. For convenience, fsck prefixes
 -      the error/warning with the message ID, e.g. "missingEmail: invalid
 -      author/committer line - missing email" means that setting
 -      `receive.fsck.missingEmail = ignore` will hide that issue.
 -+
 -This feature is intended to support working with legacy repositories
 -which would not pass pushing when `receive.fsckObjects = true`, allowing
 -the host to accept repositories with certain known issues but still catch
 -other issues.
 -
 -receive.fsck.skipList::
 -      The path to a sorted list of object names (i.e. one SHA-1 per
 -      line) that are known to be broken in a non-fatal way and should
 -      be ignored. This feature is useful when an established project
 -      should be accepted despite early commits containing errors that
 -      can be safely ignored such as invalid committer email addresses.
 -      Note: corrupt objects cannot be skipped with this setting.
 -
 -receive.keepAlive::
 -      After receiving the pack from the client, `receive-pack` may
 -      produce no output (if `--quiet` was specified) while processing
 -      the pack, causing some networks to drop the TCP connection.
 -      With this option set, if `receive-pack` does not transmit
 -      any data in this phase for `receive.keepAlive` seconds, it will
 -      send a short keepalive packet.  The default is 5 seconds; set
 -      to 0 to disable keepalives entirely.
 -
 -receive.unpackLimit::
 -      If the number of objects received in a push is below this
 -      limit then the objects will be unpacked into loose object
 -      files. However if the number of received objects equals or
 -      exceeds this limit then the received pack will be stored as
 -      a pack, after adding any missing delta bases.  Storing the
 -      pack from a push can make the push operation complete faster,
 -      especially on slow filesystems.  If not set, the value of
 -      `transfer.unpackLimit` is used instead.
 -
 -receive.maxInputSize::
 -      If the size of the incoming pack stream is larger than this
 -      limit, then git-receive-pack will error out, instead of
 -      accepting the pack file. If not set or set to 0, then the size
 -      is unlimited.
 -
 -receive.denyDeletes::
 -      If set to true, git-receive-pack will deny a ref update that deletes
 -      the ref. Use this to prevent such a ref deletion via a push.
 -
 -receive.denyDeleteCurrent::
 -      If set to true, git-receive-pack will deny a ref update that
 -      deletes the currently checked out branch of a non-bare repository.
 -
 -receive.denyCurrentBranch::
 -      If set to true or "refuse", git-receive-pack will deny a ref update
 -      to the currently checked out branch of a non-bare repository.
 -      Such a push is potentially dangerous because it brings the HEAD
 -      out of sync with the index and working tree. If set to "warn",
 -      print a warning of such a push to stderr, but allow the push to
 -      proceed. If set to false or "ignore", allow such pushes with no
 -      message. Defaults to "refuse".
 -+
 -Another option is "updateInstead" which will update the working
 -tree if pushing into the current branch.  This option is
 -intended for synchronizing working directories when one side is not easily
 -accessible via interactive ssh (e.g. a live web site, hence the requirement
 -that the working directory be clean). This mode also comes in handy when
 -developing inside a VM to test and fix code on different Operating Systems.
 -+
 -By default, "updateInstead" will refuse the push if the working tree or
 -the index have any difference from the HEAD, but the `push-to-checkout`
 -hook can be used to customize this.  See linkgit:githooks[5].
 -
 -receive.denyNonFastForwards::
 -      If set to true, git-receive-pack will deny a ref update which is
 -      not a fast-forward. Use this to prevent such an update via a push,
 -      even if that push is forced. This configuration variable is
 -      set when initializing a shared repository.
 -
 -receive.hideRefs::
 -      This variable is the same as `transfer.hideRefs`, but applies
 -      only to `receive-pack` (and so affects pushes, but not fetches).
 -      An attempt to update or delete a hidden ref by `git push` is
 -      rejected.
 +include::push-config.txt[]
  
 -receive.updateServerInfo::
 -      If set to true, git-receive-pack will run git-update-server-info
 -      after receiving data from git-push and updating refs.
 +include::rebase-config.txt[]
  
 -receive.shallowUpdate::
 -      If set to true, .git/shallow can be updated when new refs
 -      require new shallow roots. Otherwise those refs are rejected.
 +include::receive-config.txt[]
  
  remote.pushDefault::
        The remote to push to by default.  Overrides
@@@ -2674,15 -2871,6 +2674,15 @@@ remote.<name>.prune:
        remote (as if the `--prune` option was given on the command line).
        Overrides `fetch.prune` settings, if any.
  
 +remote.<name>.pruneTags::
 +      When set to true, fetching from this remote by default will also
 +      remove any local tags that no longer exist on the remote if pruning
 +      is activated in general via `remote.<name>.prune`, `fetch.prune` or
 +      `--prune`. Overrides `fetch.pruneTags` settings, if any.
 ++
 +See also `remote.<name>.prune` and the PRUNING section of
 +linkgit:git-fetch[1].
 +
  remotes.<group>::
        The list of remotes which are fetched by "git remote update
        <group>".  See linkgit:git-remote[1].
@@@ -2702,10 -2890,6 +2702,10 @@@ repack.packKeptObjects:
        index is being written (either via `--write-bitmap-index` or
        `repack.writeBitmaps`).
  
 +repack.useDeltaIslands::
 +      If set to true, makes `git repack` act as if `--delta-islands`
 +      was passed. Defaults to `false`.
 +
  repack.writeBitmaps::
        When true, git will write a bitmap index when packing all
        objects to disk (e.g., when `git repack -a` is run).  This
@@@ -2728,15 -2912,70 +2728,15 @@@ rerere.enabled:
        `$GIT_DIR`, e.g. if "rerere" was previously used in the
        repository.
  
 -sendemail.identity::
 -      A configuration identity. When given, causes values in the
 -      'sendemail.<identity>' subsection to take precedence over
 -      values in the 'sendemail' section. The default identity is
 -      the value of `sendemail.identity`.
 -
 -sendemail.smtpEncryption::
 -      See linkgit:git-send-email[1] for description.  Note that this
 -      setting is not subject to the 'identity' mechanism.
 -
 -sendemail.smtpssl (deprecated)::
 -      Deprecated alias for 'sendemail.smtpEncryption = ssl'.
 -
 -sendemail.smtpsslcertpath::
 -      Path to ca-certificates (either a directory or a single file).
 -      Set it to an empty string to disable certificate verification.
 -
 -sendemail.<identity>.*::
 -      Identity-specific versions of the 'sendemail.*' parameters
 -      found below, taking precedence over those when this
 -      identity is selected, through either the command-line or
 -      `sendemail.identity`.
 -
 -sendemail.aliasesFile::
 -sendemail.aliasFileType::
 -sendemail.annotate::
 -sendemail.bcc::
 -sendemail.cc::
 -sendemail.ccCmd::
 -sendemail.chainReplyTo::
 -sendemail.confirm::
 -sendemail.envelopeSender::
 -sendemail.from::
 -sendemail.multiEdit::
 -sendemail.signedoffbycc::
 -sendemail.smtpPass::
 -sendemail.suppresscc::
 -sendemail.suppressFrom::
 -sendemail.to::
 -sendemail.smtpDomain::
 -sendemail.smtpServer::
 -sendemail.smtpServerPort::
 -sendemail.smtpServerOption::
 -sendemail.smtpUser::
 -sendemail.thread::
 -sendemail.transferEncoding::
 -sendemail.validate::
 -sendemail.xmailer::
 -      See linkgit:git-send-email[1] for description.
 -
 -sendemail.signedoffcc (deprecated)::
 -      Deprecated alias for `sendemail.signedoffbycc`.
 -
 -sendemail.smtpBatchSize::
 -      Number of messages to be sent per connection, after that a relogin
 -      will happen.  If the value is 0 or undefined, send all messages in
 -      one connection.
 -      See also the `--batch-size` option of linkgit:git-send-email[1].
 -
 -sendemail.smtpReloginDelay::
 -      Seconds wait before reconnecting to smtp server.
 -      See also the `--relogin-delay` option of linkgit:git-send-email[1].
 -
 -showbranch.default::
 +include::sendemail-config.txt[]
 +
 +sequence.editor::
 +      Text editor used by `git rebase -i` for editing the rebase instruction file.
 +      The value is meant to be interpreted by the shell when it is used.
 +      It can be overridden by the `GIT_SEQUENCE_EDITOR` environment variable.
 +      When not configured the default commit message editor is used instead.
 +
 +showBranch.default::
        The default set of branches for linkgit:git-show-branch[1].
        See linkgit:git-show-branch[1].
  
@@@ -2786,18 -3025,6 +2786,18 @@@ status.displayCommentPrefix:
        behavior of linkgit:git-status[1] in Git 1.8.4 and previous.
        Defaults to false.
  
 +status.renameLimit::
 +      The number of files to consider when performing rename detection
 +      in linkgit:git-status[1] and linkgit:git-commit[1]. Defaults to
 +      the value of diff.renameLimit.
 +
 +status.renames::
 +      Whether and how Git detects renames in linkgit:git-status[1] and
 +      linkgit:git-commit[1] .  If set to "false", rename detection is
 +      disabled. If set to "true", basic rename detection is enabled.
 +      If set to "copies" or "copy", Git will detect copies, as well.
 +      Defaults to the value of diff.renames.
 +
  status.showStash::
        If set to true, linkgit:git-status[1] will display the number of
        entries currently stashed away.
@@@ -2848,7 -3075,86 +2848,7 @@@ stash.showStat:
        option will show diffstat of the stash entry.  Defaults to true.
        See description of 'show' command in linkgit:git-stash[1].
  
 -submodule.<name>.url::
 -      The URL for a submodule. This variable is copied from the .gitmodules
 -      file to the git config via 'git submodule init'. The user can change
 -      the configured URL before obtaining the submodule via 'git submodule
 -      update'. If neither submodule.<name>.active or submodule.active are
 -      set, the presence of this variable is used as a fallback to indicate
 -      whether the submodule is of interest to git commands.
 -      See linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
 -
 -submodule.<name>.update::
 -      The method by which a submodule is updated by 'git submodule update',
 -      which is the only affected command, others such as
 -      'git checkout --recurse-submodules' are unaffected. It exists for
 -      historical reasons, when 'git submodule' was the only command to
 -      interact with submodules; settings like `submodule.active`
 -      and `pull.rebase` are more specific. It is populated by
 -      `git submodule init` from the linkgit:gitmodules[5] file.
 -      See description of 'update' command in linkgit:git-submodule[1].
 -
 -submodule.<name>.branch::
 -      The remote branch name for a submodule, used by `git submodule
 -      update --remote`.  Set this option to override the value found in
 -      the `.gitmodules` file.  See linkgit:git-submodule[1] and
 -      linkgit:gitmodules[5] for details.
 -
 -submodule.<name>.fetchRecurseSubmodules::
 -      This option can be used to control recursive fetching of this
 -      submodule. It can be overridden by using the --[no-]recurse-submodules
 -      command-line option to "git fetch" and "git pull".
 -      This setting will override that from in the linkgit:gitmodules[5]
 -      file.
 -
 -submodule.<name>.ignore::
 -      Defines under what circumstances "git status" and the diff family show
 -      a submodule as modified. When set to "all", it will never be considered
 -      modified (but it will nonetheless show up in the output of status and
 -      commit when it has been staged), "dirty" will ignore all changes
 -      to the submodules work tree and
 -      takes only differences between the HEAD of the submodule and the commit
 -      recorded in the superproject into account. "untracked" will additionally
 -      let submodules with modified tracked files in their work tree show up.
 -      Using "none" (the default when this option is not set) also shows
 -      submodules that have untracked files in their work tree as changed.
 -      This setting overrides any setting made in .gitmodules for this submodule,
 -      both settings can be overridden on the command line by using the
 -      "--ignore-submodules" option. The 'git submodule' commands are not
 -      affected by this setting.
 -
 -submodule.<name>.active::
 -      Boolean value indicating if the submodule is of interest to git
 -      commands.  This config option takes precedence over the
 -      submodule.active config option.
 -
 -submodule.active::
 -      A repeated field which contains a pathspec used to match against a
 -      submodule's path to determine if the submodule is of interest to git
 -      commands.
 -
 -submodule.recurse::
 -      Specifies if commands recurse into submodules by default. This
 -      applies to all commands that have a `--recurse-submodules` option.
 -      Defaults to false.
 -
 -submodule.fetchJobs::
 -      Specifies how many submodules are fetched/cloned at the same time.
 -      A positive integer allows up to that number of submodules fetched
 -      in parallel. A value of 0 will give some reasonable default.
 -      If unset, it defaults to 1.
 -
 -submodule.alternateLocation::
 -      Specifies how the submodules obtain alternates when submodules are
 -      cloned. Possible values are `no`, `superproject`.
 -      By default `no` is assumed, which doesn't add references. When the
 -      value is set to `superproject` the submodule to be cloned computes
 -      its alternates location relative to the superprojects alternate.
 -
 -submodule.alternateErrorStrategy::
 -      Specifies how to treat errors with the alternates for a submodule
 -      as computed via `submodule.alternateLocation`. Possible values are
 -      `ignore`, `info`, `die`. Default is `die`.
 +include::submodule-config.txt[]
  
  tag.forceSignAnnotated::
        A boolean to specify whether annotated tags created should be GPG signed.
@@@ -2871,40 -3177,6 +2871,40 @@@ transfer.fsckObjects:
        When `fetch.fsckObjects` or `receive.fsckObjects` are
        not set, the value of this variable is used instead.
        Defaults to false.
 ++
 +When set, the fetch or receive will abort in the case of a malformed
 +object or a link to a nonexistent object. In addition, various other
 +issues are checked for, including legacy issues (see `fsck.<msg-id>`),
 +and potential security issues like the existence of a `.GIT` directory
 +or a malicious `.gitmodules` file (see the release notes for v2.2.1
 +and v2.17.1 for details). Other sanity and security checks may be
 +added in future releases.
 ++
 +On the receiving side, failing fsckObjects will make those objects
 +unreachable, see "QUARANTINE ENVIRONMENT" in
 +linkgit:git-receive-pack[1]. On the fetch side, malformed objects will
 +instead be left unreferenced in the repository.
 ++
 +Due to the non-quarantine nature of the `fetch.fsckObjects`
 +implementation it can not be relied upon to leave the object store
 +clean like `receive.fsckObjects` can.
 ++
 +As objects are unpacked they're written to the object store, so there
 +can be cases where malicious objects get introduced even though the
 +"fetch" failed, only to have a subsequent "fetch" succeed because only
 +new incoming objects are checked, not those that have already been
 +written to the object store. That difference in behavior should not be
 +relied upon. In the future, such objects may be quarantined for
 +"fetch" as well.
 ++
 +For now, the paranoid need to find some way to emulate the quarantine
 +environment if they'd like the same protection as "push". E.g. in the
 +case of an internal mirror do the mirroring in two steps, one to fetch
 +the untrusted objects, and then do a second "push" (which will use the
 +quarantine) to another internal repo, and have internal clients
 +consume this pushed-to repository, or embargo internal fetches and
 +only allow them once a full "fsck" has run (and no new fetches have
 +happened in the meantime).
  
  transfer.hideRefs::
        String(s) `receive-pack` and `upload-pack` use to decide which
@@@ -2996,22 -3268,15 +2996,22 @@@ uploadpack.packObjectsHook:
        was run. I.e., `upload-pack` will feed input intended for
        `pack-objects` to the hook, and expects a completed packfile on
        stdout.
- uploadpack.allowFilter::
-       If this option is set, `upload-pack` will support partial
-       clone and partial fetch object filtering.
  +
  Note that this configuration variable is ignored if it is seen in the
  repository-level config (this is a safety measure against fetching from
  untrusted repositories).
  
+ uploadpack.allowFilter::
+       If this option is set, `upload-pack` will support partial
+       clone and partial fetch object filtering.
 +uploadpack.allowRefInWant::
 +      If this option is set, `upload-pack` will support the `ref-in-want`
 +      feature of the protocol version 2 `fetch` command.  This feature
 +      is intended for the benefit of load-balanced servers which may
 +      not have the same view of what OIDs their refs point to due to
 +      replication delay.
 +
  url.<base>.insteadOf::
        Any URL that starts with this value will be rewritten to
        start, instead, with <base>. In cases where some site serves a
@@@ -3108,13 -3373,3 +3108,13 @@@ web.browser:
        Specify a web browser that may be used by some commands.
        Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]
        may use it.
 +
 +worktree.guessRemote::
 +      With `add`, if no branch argument, and neither of `-b` nor
 +      `-B` nor `--detach` are given, the command defaults to
 +      creating a new branch from HEAD.  If `worktree.guessRemote` is
 +      set to true, `worktree add` tries to find a remote-tracking
 +      branch whose name uniquely matches the new branch name.  If
 +      such a branch exists, it is checked out and set as "upstream"
 +      for the new branch.  If no such match can be found, it falls
 +      back to creating a new branch from the current HEAD.