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

Re: [BUG?] git fetch -p -t prunes all non-tag refs

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:07

Possibly related (same subject, not in this thread)

Ben Boeckel [off-list ref] writes:
When the --prune and --tags options are given to git fetch together, all
non-tag refs are pruned because only tags are looked at and when pruning
it appears as if the branches have disappeared and are therefore deleted
locally.
I would call that a bug, and it is not limited to the use of "--tags". For
example, I suspect that

    $ git fetch --prune origin refs/heads/master:refs/remotes/origin/master

would prune remote tracking branches for "origin" other than "master".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help