Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

Re: Cleaning up git user-interface warts

From: Michael K. Edwards <hidden>
Date: 2016-08-11 19:27:50

On 11/16/06, Junio C Hamano [off-list ref] wrote:
"Michael K. Edwards" [off-list ref] writes:
quoted
Presumably "git branch -D" should inspect everything under
.git/remotes to see whether one or more Pull: lines need to be
deleted along with the branch.
I am not sure what you mean.  .git/remotes files do not describe
any relationship between local branches (and that is where one
of the problem raised in recent thread -- pull does not notice
on which branch you are on and change its behaviour depending on
it), so I do not think there is anything gained for "git branch
-D" by going through them.
.git/remotes/foo does contain Pull: lines which indicate the local
branch onto which to _fetch_ remote changes.  It's the subsequent
_merge_ that doesn't notice which branch you have checked out.

Cheers,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help