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

Re: [RFC/PATCH] Per branch properties for pull

From
Junio C Hamano <junkio@cox.net>
Date
Jul 24, 2006, 07:31 UTC
Message-ID
<7vmzaze9xj.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<87hd1b9fjq.fsf@gmail.com>
Santi Béjar <sbejar@gmail.com> writes:
Show 21 quoted lines
> It extracts all the information for pull from the config file.
>
> If you have a config file as:
>
> [branch "master"]
>         remote=origin
>         merge=next          #the remote name
>         octopus=octopus
>         twohead=recursive
>
> When doing a "git pull" without extra parameters in the master branch
> it will fetch the origin remote repository and will merge the next
> branch (the remote name).
>
> And you can also put the equivalent of the pull.{octopus,twohead}
> options for each branch.
>
> This only changes the behavour when these keys exist and when
> git-pull is used without extra parameters.
>
> Signed-off-by: Santi Béjar <sbejar@gmail.com>

I am in general in agreement with this line of thought and had an impression that many on the list wanted to have per-branch configuration. I am a bit too tired now so I'd just let you know I am interested but would not apply it tonight.

Opinions? Comments? Anything missing or objectionable on Santi's patch from the list?

Previous: Santi BéjarNext: Santi
Message 2 of 3 in “Per branch properties for pull”
  1. Per branch properties for pullSanti Béjar, Jul 21, 2006
  2. Junio C HamanoJul 24, 2006
  3. SantiJul 24, 2006

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.