From: Taylor Blau Date: Mon, 08 Mar 2021 20:28:20 GMT Subject: Re: remote..merge missing from the git-config man page? Message-ID: In-Reply-To: <87pn092yja.fsf@igel.home> On Mon, Mar 08, 2021 at 09:14:33PM +0100, Andreas Schwab wrote: > On Mär 08 2021, Taylor Blau wrote: > > > diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt > > index ab103c82cf..a953c7c387 100644 > > --- a/Documentation/git-push.txt > > +++ b/Documentation/git-push.txt > > @@ -600,7 +600,7 @@ EXAMPLES > > > > `git push origin`:: > > Without additional configuration, pushes the current branch to > > - the configured upstream (`remote.origin.merge` configuration > > + the configured upstream (`branch..merge` configuration > > variable) if it has the same name as the current branch, and > > errors out without pushing otherwise. > > That doesn't say what is. Is that supposed to be ? > Also, what is "it" referring to in "if it has the same name"? refers to the currently-checked-out branch's local name. (That's how it's used in Documentation/config/branch.txt). The antecedent is "the current branch", so I think that this one may already be quite clear if you read past the parenthesis. Thanks, Taylor