summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-05-08 21:33:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-09 03:11:44 (GMT)
commitb7b744f297b736c51636407f5883b3777bb36433 (patch)
treeff33911235b81e595a853d31f281affe4845817e /Documentation/config.txt
parent49800c940790cc7465d1b03e08d472ffd8684808 (diff)
downloadgit-b7b744f297b736c51636407f5883b3777bb36433.zip
git-b7b744f297b736c51636407f5883b3777bb36433.tar.gz
git-b7b744f297b736c51636407f5883b3777bb36433.tar.bz2
docs: correct receive.advertisePushOptions default
In commit c714e45 ("receive-pack: implement advertising and receiving push options", 2016-07-14), receive-pack was taught to (among other things) advertise that it understood push options, depending on configuration. It was documented that it advertised such ability by default; however, it actually does not. (In that commit, notice that advertise_push_options defaults to 0, unlike advertise_atomic_push which defaults to 1.) Update the documentation to state that it does not advertise the ability by default. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index e43d147..5eb326e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2537,9 +2537,8 @@ receive.advertiseAtomic::
capability, set this variable to false.
receive.advertisePushOptions::
- By default, git-receive-pack will advertise the push options
- capability to its clients. If you don't want to advertise this
- capability, set this variable to false.
+ 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