From: Junio C Hamano Date: Wed, 6 Dec 2017 17:23:44 +0000 (-0800) Subject: Merge branch 'bw/protocol-v1' X-Git-Tag: v2.16.0-rc0~69 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4c6dad0059b2b5d1ea996ccf67f93224955b07b4?ds=inline;hp=-c Merge branch 'bw/protocol-v1' A new mechanism to upgrade the wire protocol in place is proposed and demonstrated that it works with the older versions of Git without harming them. * bw/protocol-v1: Documentation: document Extra Parameters ssh: introduce a 'simple' ssh variant i5700: add interop test for protocol transition http: tell server that the client understands v1 connect: tell server that the client understands v1 connect: teach client to recognize v1 server response upload-pack, receive-pack: introduce protocol version 1 daemon: recognize hidden request arguments protocol: introduce protocol extension mechanisms pkt-line: add packet_write function connect: in ref advertisement, shallows are last --- 4c6dad0059b2b5d1ea996ccf67f93224955b07b4 diff --combined Documentation/config.txt index 531649cb40,0460af37e2..64bdce8435 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@@ -351,9 -351,6 +351,9 @@@ advice.*: addEmbeddedRepo:: Advice on what to do when you've accidentally added one git repo inside of another. + ignoredHook:: + Advice shown if an hook is ignored because the hook is not + set as executable. -- core.fileMode:: @@@ -416,13 -413,6 +416,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 @@@ -959,23 -949,6 +959,23 @@@ apply.whitespace: Tells 'git apply' how to handle whitespaces, in the same way as the `--whitespace` option. See linkgit:git-apply[1]. +blame.showRoot:: + Do not treat root commits as boundaries in linkgit:git-blame[1]. + This option defaults to false. + +blame.blankBoundary:: + Show blank commit object name for boundary commits in + linkgit:git-blame[1]. This option defaults to false. + +blame.showEmail:: + Show the author email instead of author name in linkgit:git-blame[1]. + This option defaults to false. + +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]. + branch.autoSetupMerge:: Tells 'git branch' and 'git checkout' to set up new branches so that linkgit:git-pull[1] will appropriately merge from the @@@ -2111,12 -2084,31 +2111,31 @@@ 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). + with ssh (OpenSSH), plink or tortoiseplink, as opposed to the default + (simple). + 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`. + valid values are `ssh`, `simple`, `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`. + + + 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 + + -- + + + 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 @@@ -2544,6 -2536,23 +2563,23 @@@ The protocol names currently used by gi `hg` to allow the `git-remote-hg` helper) -- + 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: + + + -- + + * `0` - the original wire protocol. + + * `1` - the original wire protocol with the addition of a version string + in the initial response from the server. + + -- + 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 @@@ -2648,35 -2657,6 +2684,35 @@@ push.gpgSign: override a value from a lower-priority config file. An explicit command-line flag always overrides this config option. +push.pushOption:: + When no `--push-option=