git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 23 in “filter-branch.sh: support nearly proper tag name filtering”
  1. 2/2 filter-branch.sh: support nearly proper tag name filteringBrandon Casey, Mar 20, 2008
  2. Johannes SchindelinMar 20, 2008
  3. Brandon CaseyMar 20, 2008
  4. Junio C HamanoMar 24, 2008
  5. Johannes SchindelinMar 24, 2008
  6. Junio C HamanoMar 24, 2008
  7. Johannes SchindelinMar 24, 2008
  8. Brandon CaseyMar 24, 2008
  9. Brandon CaseyMar 24, 2008
  10. Johannes SchindelinMar 24, 2008
  11. Brandon CaseyMar 24, 2008
  12. Johannes SchindelinMar 24, 2008
  13. Brandon CaseyMar 24, 2008
  14. filter-branch --all?Eyvind Bernhardsen, Mar 24, 2008
  15. Brandon CaseyMar 24, 2008
  16. Eyvind BernhardsenMar 24, 2008
  17. Brandon CaseyMar 24, 2008
  18. filter-branch.sh: support nearly proper tag name filteringBrandon Casey, Mar 24, 2008
  19. Brandon CaseyMar 24, 2008
  20. Junio C HamanoMar 25, 2008
  21. filter-branch.sh: support nearly proper tag name filteringBrandon Casey, Mar 25, 2008
  22. Junio C HamanoMar 26, 2008
  23. filter-branch.sh: support nearly proper tag name filteringBrandon Casey, Mar 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.