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

Re: git branch --set-upstream regression in master

From
Jay Soffian <jaysoffian@gmail.com>
Date
Sep 17, 2011, 00:19 UTC
Message-ID
<CAG+J_DwtkVws_kDbpb2HDW56BCdixa=DtnZ-uXei=URCkFq1=w@mail.gmail.com>
In-Reply-To
<7vy5xocafg.fsf@alter.siamese.dyndns.org>
On Fri, Sep 16, 2011 at 7:52 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Jay Soffian <jaysoffian@gmail.com> writes:
>
>> This used to be possible on the checked out branch:
>>
>>   $ git branch --set-upstream origin/master master
>>
>> Now it gives "fatal: Cannot force update the current branch."
>> broken.
>
> Let's do this. I would be happy if I can include it in -rc2 with Tested-by:
> or something ;-)
Tested-by: Jay Soffian

Thanks for the quick turnaround. I'll try to find some time to make --set-upstream a proper option for post 1.7.7.

j.
Previous: Junio C Hamano
Message 5 of 5 in “git branch --set-upstream regression in master”
  1. Jay SoffianSep 16, 2011
  2. Junio C HamanoSep 16, 2011
  3. Junio C HamanoSep 16, 2011
  4. Junio C HamanoSep 16, 2011
  5. Jay SoffianSep 17, 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.