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

Re: [PATCH] Allow local branching to set up rebase by default.

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2008, 18:23 UTC
Message-ID
<7v1w4cd590.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<585390AA-289C-4B2F-B851-DD383C6C7A73@spy.net>
Dustin Sallings <dustin@spy.net> writes:
Show 15 quoted lines
>>> +	When `never`, rebase is never automatically set to true.
>>> +	When `local`, rebase is set to true for tracked branches of
>>> +	other local branches.
>>> +	When `remote`, rebase is set to true for tracked branches of
>>> +	remote branches.
>>> +	When `always`, rebase will be set to true for all tracking
>>> +	branches.
>>> +	This option defaults to never.
>>
>> How does this interact with a similarly named configuration option,
>> autosetupmerge, whose settings can be false, true, and always?
>
> 	I can direct the user to the autosetupmerge config
> documentation since it also documents the flags that override its
> behavior.  Is this  acceptable?

Oh, it was not a request to change the description quoted above but a pure question -- asking for information. "This new configuration variable is orthogonal and does not interact with the autosetupmerge", "This takes effect only the other one decides (or --track is given from the command line) to make it track", etc. were the expected answers. It might not hurt to insert "(see branch.<name>.autosetupmerge)" before the comma in "tracks another branch," below, though...

    +branch.autosetuprebase::
    +       When a new branch is created with `git-branch` or `git-checkout`
    +       that tracks another branch, this parameter tells git to set
Previous: Dustin SallingsNext: Dustin Sallings
Message 5 of 12 in “Allow local branching to set up rebase by default.”
  1. Allow local branching to set up rebase by default.Dustin Sallings, Apr 29, 2008
  2. Jay SoffianApr 29, 2008
  3. Junio C HamanoMay 7, 2008
  4. Dustin SallingsMay 8, 2008
  5. Junio C HamanoMay 8, 2008
  6. Allow tracking branches to set up rebase by default.Dustin Sallings, May 8, 2008
  7. Junio C HamanoMay 10, 2008
  8. Dustin SallingsMay 10, 2008
  9. Allow tracking branches to set up rebase by default.Dustin Sallings, May 10, 2008
  10. Doc: Mention branch.<name>.rebase applies to "git pull"Dustin Sallings, May 8, 2008
  11. Dustin SallingsMay 7, 2008
  12. Junio C HamanoMay 7, 2008

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.