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

Re: [1.8.0] Change branch --set-uptream to take an argument

From
Jay Soffian <jaysoffian@gmail.com>
Date
Feb 1, 2011, 21:27 UTC
Message-ID
<AANLkTi=gvVwh-H9FiGz6SQeJYwxmnnViYsDQX=RYRjb6@mail.gmail.com>
In-Reply-To
<7v7hdj1mo7.fsf@alter.siamese.dyndns.org>
On Tue, Feb 1, 2011 at 4:15 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> IOW, I don't think
>
>>   (master)$ git branch --set-upstream origin/master
>>   Branch origin/master set up to track local branch master.
>
> is a sane behaviour from day one, and is simply a bug.  Changing this
> behaviour would merely be a bugfix, not a flag-day event that changes an
> established behaviour.

Okay, our emails criss-crossed. I agree with that, but my other email proposes adding -u <name> with correct behavior and just deprecating --set-upstream. I suppose we could instead (or in addition) just fix --set-upstream.

I guess please reply to the other email so we don't keep criss-crossing. :-)
j.
Previous: Junio C HamanoNext: Miles Bader
Message 6 of 8 in “[1.8.0] Change branch --set-uptream to take an argument”
  1. Jay SoffianFeb 1, 2011
  2. Matthieu MoyFeb 1, 2011
  3. Jay SoffianFeb 1, 2011
  4. Stefan HallerFeb 4, 2011
  5. Junio C HamanoFeb 1, 2011
  6. Jay SoffianFeb 1, 2011
  7. Miles BaderFeb 2, 2011
  8. Jay SoffianFeb 2, 2011

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.