Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] git-remote - Unset core.origin when deleting the default remote

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

Possibly related (same subject, not in this thread)

On Tue, Jan 15, 2008 at 12:02:45AM -0500, Mark Levedahl wrote:
quoted
I'm not sure I see the use case that this helps.
  
Just being thorough: the man page claims that "git remote rm foo" removes 
all mention of remote foo.
I was going to respond "by that rationale, 'git remote rm' should be
removing branch.*.remote keys that point to the removed remote". But
looking at the code, it already does that. So your change actually keeps
things consistent.

Not the choice I would have made, but I guess it just goes to show that
I use "vi" instead of "git remote". Consider my objection withdrawn.

-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