git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] push: Re-include "push.default=tracking" in the documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 6, 2016, 18:24 UTC
Message-ID
<xmqqint5l4i9.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<vpqlgy1h28g.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 19 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
>
>> Junio, looks like from the 2013 discussion that you preferred just
>> having that mention in parenthesis instead of its own item, how about
>> just re-applying your fa23348 (with conflicts resolved)?
>
> (fa23348 did this:
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -1749,7 +1749,8 @@ push.default::
>    +
>    This is currently the default, but Git 2.0 will change the default
>    to `simple`.
> -* `upstream` - push the current branch to its upstream branch.
> +* `upstream` - push the current branch to its upstream branch
> +  (`tracking` is a deprecated synonym for this).
> )
>
> I agree that doing the same thing is the best option.
Sorry, I wasn't paying attention to this thread.  

It seems that 87a70e4ce8 ("config doc: rewrite push.default section", 2013-06-19) removed that mention by accident? The log message of the commit does not say it actively wanted to remove mention of `tracking` and/or why it wanted to do so, so I agree that resurrecting that parenthetical mention is the easiest course of action at this point.

However.

With today's description of push.default choices, each of which is a full fledged paragraph, I no longer have the objection I had in

    https://public-inbox.org/git/7vip6dgmx2.fsf@alter.siamese.dyndns.org/
against having `tracking` as a separate bullet item.  If we add
    * `tracking` - a deprecated synonym for `upstream`; do not use this.

to today's list, it would stand out as something different from others and it will not cause the confusion I feared in the discussion we had in early 2013. As Jonathan Nieder argued in the thread back then, having it as one of the bullet point would help people locate it without using "search" \C-s or / feature.

Previous: Matthieu MoyNext: Ævar Arnfjörð Bjarmason
Message 6 of 8 in “push: Re-include "push.default=tracking" in the documentation”
  1. push: Re-include "push.default=tracking" in the documentationÆvar Arnfjörð Bjarmason, Oct 6, 2016
  2. Johan HerlandOct 6, 2016
  3. Matthieu MoyOct 6, 2016
  4. Ævar Arnfjörð BjarmasonOct 6, 2016
  5. Matthieu MoyOct 6, 2016
  6. Junio C HamanoOct 6, 2016
  7. push: Re-include "push.default=tracking" in the documentationÆvar Arnfjörð Bjarmason, Mar 19, 2017
  8. Junio C HamanoMar 20, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.