Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

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

From: Jeff King <hidden>
Date: 2016-06-15 22:58:15

On Fri, Jul 26, 2013 at 02:43:11PM -0400, Jeff King wrote:
On Fri, Jul 26, 2013 at 07:39:37PM +0200, Carlos Martín Nieto wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help