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

Re: [PATCH] branch: make sure the upstream remote is configured

From
Jeff King <peff@peff.net>
Date
Jul 26, 2013, 18:48 UTC
Message-ID
<20130726184815.GB29799@sigill.intra.peff.net>
In-Reply-To
<20130726184311.GA29799@sigill.intra.peff.net>
On Fri, Jul 26, 2013 at 02:43:11PM -0400, Jeff King wrote:
Show 12 quoted lines
> On Fri, Jul 26, 2013 at 07:39:37PM +0200, Carlos Martín Nieto wrote:
> 
> > A command of e.g.
> > 
> >     git push --set-upstream /tmp/t master
> > 
> > will call install_branch_config() with a remote name of "/tmp/t". This
> > function will set the 'branch.master.remote' key to, which is
> > nonsensical as there is no remote by that name.
> 
> Is it nonsensical? It does not make sense for the @{upstream} magic
> token, because we will not have a branch in tracking branch refs/remotes

Eh, I am incapable of typing (and proofreading). That should be "not have a tracking branch in refs/remotes".

-Peff
Previous: Jeff KingNext: Carlos Martín Nieto
Message 3 of 6 in “branch: make sure the upstream remote is configured”
  1. branch: make sure the upstream remote is configuredCarlos Martín Nieto, Jul 26, 2013
  2. Jeff KingJul 26, 2013
  3. Jeff KingJul 26, 2013
  4. Carlos Martín NietoJul 26, 2013
  5. Jeff KingJul 26, 2013
  6. Jeff KingJul 26, 2013

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.