Skip to content

Commit b7b744f

Browse files
jonathantanmygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 49800c9 commit b7b744f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/config.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2537,9 +2537,8 @@ receive.advertiseAtomic::
25372537
capability, set this variable to false.
25382538

25392539
receive.advertisePushOptions::
2540-
By default, git-receive-pack will advertise the push options
2541-
capability to its clients. If you don't want to advertise this
2542-
capability, set this variable to false.
2540+
When set to true, git-receive-pack will advertise the push options
2541+
capability to its clients. False by default.
25432542

25442543
receive.autogc::
25452544
By default, git-receive-pack will run "git-gc --auto" after

0 commit comments

Comments
 (0)