Re: [PATCH 2/2] filter-branch.sh: support nearly proper tag name filtering
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 24, 2008, 10:53 UTC
- Message-ID
- <alpine.LSU.1.00.0803241152050.4353@racer.site>
- In-Reply-To
- <7vr6e01xja.fsf@gitster.siamese.dyndns.org>
Hi,
On Sun, 23 Mar 2008, Junio C Hamano wrote:
> If you tell filter-branch to filter a branch A and a tag T, as the > command is advertised to rewrite positive refs that were given from the > command line, isn't it natural to expect that the command would attempt > its best effort to rewrite such a tag object?
The thing is: signed tags cannot be rewritten. As simple as that. They could be recreated if the committer happens to be the original tagger, but even then, it is a rewrite of _tags_, which are _not_ supposed to be moving targets.
So it was very much on purpose to disallow rewriting them by default.
Ciao, Dscho