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
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 16, 2008, 11:45 UTC
Message-ID
<alpine.LSU.1.00.0802161143290.30505@racer.site>
In-Reply-To
<7v7ih5fpve.fsf@gitster.siamese.dyndns.org>
Hi,
On Fri, 15 Feb 2008, Junio C Hamano wrote:
> This area was last cleaned up in 6f084a5 (branch --track: code cleanup 
> and saner handling of local branches).  I do not know if the original 
> intention of the code was to allow a hack like this to work, or it is 
> just an unintended accident that it happens to work.  Dscho, any ideas?

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.

Ciao, Dscho

Previous: Jay SoffianNext: Jay Soffian
Message 5 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.