Subject: Re: [BUG] git remote prune removes local tags, depending on fetch config

From: Andreas Schwab <[email-masked]>
Date: Tue, 16 Jan 2018 12:48:32 +0100

On Jan 15 2018, Michael Giuffrida <[email-masked]> wrote:

> It doesn't seem like a useful feature -- you wouldn't expect `git
> fetch --prune` to remove your local branches that you were developing
> on, right?

Don't mix local and remote refs.  There is a reason why remote tracking
branches are put in a separate name space.  If you fetch the remote tags
into a separate name space (eg. refs/remote/tags/*:refs/tags/*) then
there is no conflict.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."