Re: [BUG?] git fetch -p -t prunes all non-tag refs
- From
Ben Boeckel <mathstuf@gmail.com>
- Date
- Sep 26, 2011, 22:51 UTC
- Message-ID
- <20110926225131.GA3421@erythro.kitwarein.com>
- In-Reply-To
- <7vehz30wdy.fsf@alter.siamese.dyndns.org>
On Mon, Sep 26, 2011 at 15:30:33 -0700, Junio C Hamano wrote:
Show 6 quoted lines
> 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".
Indeed it does. Given that, should --prune be an error when a refspec is given or when in combination with --tags?
--Ben