Re: [PATCH 2/2] filter-branch.sh: support nearly proper tag name filtering
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 24, 2008, 15:10 UTC
- Message-ID
- <alpine.LSU.1.00.0803241609540.4353@racer.site>
- In-Reply-To
- <7viqzc18j9.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 24 Mar 2008, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > 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. > > I know that, and you know I know that if you read what you responded > again ;-) > > And I think stripping of gpg signature part is a reasonable best effort > for the command, _when_ the user told a signed tag to be rewritten.
Yes.
BUT.
You can say "--all", and I actually expect quite a few people to do exactly that. And then you cannot really say "the user explicitely asked to have that signed tag rewritten".
Ciao, Dscho