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

Re: filter-branch: Remove original/*

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 15, 2009, 21:58 UTC
Message-ID
<7v7i3ricr4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7vbpt3id1w.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 15 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
>>> That merely means whoever changes the tag and wants the record of such an
>>> update, which is uncommon, need to make sure reflog is created for that
>>> tag (and that tag only).
>>
>> The thing is: we cannot.  At least not at the moment.
>
> $ mkdir -p .git/logs/refs/tags
> $ >.git/logs/refs/tags/junker
> $ git tag junker
> $ wc .git/logs/refs/tags/junker
>   1   8 134 .git/logs/refs/tags/junker
>
> Ok, it's not 180 byte as I said, but only 134 bytes.

Having proven my superiour intelligence ;-) I think I can agree if your next proposal is to toggle reflog on for the tag when "git tag -f" is used to update an existing tag and core.logAllRefUpdates does not say "never" (this new value needs to be treated the same as "false" for most other purposes), and the tag does not already have a reflog.

Previous: Junio C HamanoNext: Johannes Schindelin
Message 8 of 12 in “filter-branch: Remove original/* (was Re: [RFC] What's the best UI for 'git submodule split'?)”
  1. Eric KiddFeb 14, 2009
  2. Johannes SchindelinFeb 14, 2009
  3. Junio C HamanoFeb 15, 2009
  4. Johannes SchindelinFeb 15, 2009
  5. Junio C HamanoFeb 15, 2009
  6. Johannes SchindelinFeb 15, 2009
  7. Junio C HamanoFeb 15, 2009
  8. Junio C HamanoFeb 15, 2009
  9. Johannes SchindelinFeb 16, 2009
  10. Johannes SchindelinFeb 16, 2009
  11. Johannes SchindelinFeb 16, 2009
  12. Sitaram ChamartyFeb 16, 2009

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.