Re: [PATCH 1/3] docs: correct receive.advertisePushOptions default
- From
- Brandon Williams <bmwill@google.com>
- Date
- May 5, 2017, 23:50 UTC
- Message-ID
- <20170505235017.GC55152@google.com>
- In-Reply-To
- <28c40105e53a4d4d828092bc1697fff8992419d6.1494027001.git.jonathantanmy@google.com>
On 05/05, Jonathan Tan wrote:
Show 7 quoted lines
> 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.)This looks like a good fix to the documentation as advertise_push_options does indeed default to 0.
Show 28 quoted lines
> > Update the documentation to state that it does not advertise the ability > by default. > > Signed-off-by: Jonathan Tan <jonathantanmy@google.com> > --- > Documentation/config.txt | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/Documentation/config.txt b/Documentation/config.txt > index 475e874d5..f49a2f3cb 100644 > --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -2620,9 +2620,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. > > receive.autogc:: > By default, git-receive-pack will run "git-gc --auto" after > -- > 2.13.0.rc1.294.g07d810a77f-goog >
-- Brandon Williams