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

Re: [RFC PATCH 1/2] git-branch: allow --track to work w/local branches

From
Jay Soffian <jaysoffian@gmail.com>
Date
Feb 17, 2008, 18:05 UTC
Message-ID
<76718490802171005xaed572dkd59ed822897fdb3a@mail.gmail.com>
In-Reply-To
<alpine.LSU.1.00.0802161143290.30505@racer.site>
On Feb 16, 2008 6:45 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 6 quoted lines
> AFAIR the problem was that you were (rightfully) annoyed when you were
> setting up your local branches, and all of a sudden, they were set up with
> loads of tracking information, cluttering your config.
>
> Basically, that is the reason why we disallowed tracking information to be
> set up for local branching.

Hrmm, I was annoyed that when setting up my local branches, they *don't* get tracking information. Otherwise I can't use "git pull" with them, which I'd like to. So maybe something like:

 * Using --track or --notrack adds (or doesn't) the information, because
  well, I specified it explicitly.
 * Otherwise (if neither --track nor --notrack) is specified, check the
  setting of branch.autosetupmerge. Currently it's a boolean, but
  perhaps it can take on a new setting and have:
 - false
 - true
 - always ; new setting which means to setup tracking information for
          ; both local and remote branches
?
j.
Previous: Johannes Schindelin
Message 6 of 6 in “git-branch: allow --track to work w/local branches”
  1. 1/2 git-branch: allow --track to work w/local branchesJay Soffian, Feb 16, 2008
  2. 2/2 new --rebase option to set branch.*.rebase for new branchesJay Soffian, Feb 16, 2008
  3. Junio C HamanoFeb 16, 2008
  4. Jay SoffianFeb 16, 2008
  5. Johannes SchindelinFeb 16, 2008
  6. Jay SoffianFeb 17, 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.