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

Re: [RFC PATCH 2/1] Make request-pull able to take a refspec of form local:remote

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jan 23, 2014, 23:56 UTC
Message-ID
<CA+55aFyN7WWAF6pGfP+0j29nf6ETao0J5sUu+5UDaXUYC9_Geg@mail.gmail.com>
In-Reply-To
<xmqqsises3u0.fsf@gitster.dls.corp.google.com>
On Thu, Jan 23, 2014 at 2:58 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
> Will be fine, provided if they always use local:remote syntax, I'd
> agree.
Why? No sane user should actually need to use the local:remote syntax.

The normal situation should be that you create the correctly named branch or tag locally, and then push it out under that name.

So I don't actually think anybody should need to be retrained, or "always use the local:remote" syntax. The local:remote syntax exists only for that special insane case where you used (the same) local:remote syntax to push out a branch under a different name.

[ And yeah, maybe that behavior is more common than I think, but even if it is, such behavior would always be among people who are *very* aware of the whole "local branch vs remote branch name is different" situation. ]

                   Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 13 in “Make request-pull able to take a refspec of form local:remote”
  1. 2/1 Make request-pull able to take a refspec of form local:remoteLinus Torvalds, Jan 23, 2014
  2. Junio C HamanoJan 23, 2014
  3. Linus TorvaldsJan 23, 2014
  4. Junio C HamanoJan 23, 2014
  5. Linus TorvaldsJan 23, 2014
  6. Junio C HamanoJan 24, 2014
  7. Re* [RFC PATCH 2/1] Make request-pull able to take a refspec of form local:remoteJunio C Hamano, Jan 29, 2014
  8. brian m. carlsonJan 30, 2014
  9. Linus TorvaldsJan 30, 2014
  10. Junio C HamanoFeb 25, 2014
  11. Junio C HamanoMar 12, 2014
  12. Eric SunshineMar 12, 2014
  13. Junio C HamanoMar 13, 2014

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.