summaryrefslogtreecommitdiff
path: root/Documentation/config/push.txt
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2021-05-04 21:16:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-05 01:41:29 (GMT)
commit477673d6f39b4829baa98ad88d6b65b35b79fd0f (patch)
tree78f7ac9dc9b5607b2d18fbb1704e7448280e7bf2 /Documentation/config/push.txt
parent9c1e657a8fd26fa3ed8d13fb8c796cef8db8b124 (diff)
downloadgit-477673d6f39b4829baa98ad88d6b65b35b79fd0f.zip
git-477673d6f39b4829baa98ad88d6b65b35b79fd0f.tar.gz
git-477673d6f39b4829baa98ad88d6b65b35b79fd0f.tar.bz2
send-pack: support push negotiation
Teach Git the push.negotiate config variable. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/push.txt')
-rw-r--r--Documentation/config/push.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/push.txt b/Documentation/config/push.txt
index 21b256e..f2667b2 100644
--- a/Documentation/config/push.txt
+++ b/Documentation/config/push.txt
@@ -120,3 +120,10 @@ push.useForceIfIncludes::
`--force-if-includes` as an option to linkgit:git-push[1]
in the command line. Adding `--no-force-if-includes` at the
time of push overrides this configuration setting.
+
+push.negotiate::
+ If set to "true", attempt to reduce the size of the packfile
+ sent by rounds of negotiation in which the client and the
+ server attempt to find commits in common. If "false", Git will
+ rely solely on the server's ref advertisement to find commits
+ in common.