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

git-fast-export and tags without a tagger

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 18, 2008, 16:46 UTC
Message-ID
<20081218164614.GS5691@genesis.frugalware.org>
Hi,

Tags created with ancient versions of git have no tagger. The udev repo has such tags, for example:

$ git cat-file tag 4ea98ca6db3b84f5bc16eac8574e5c209ec823ce object face198a5f21027fefe796dc01e19e349a2d36ce type commit tag 062

fast-export will fail on these repos. From IRC:

20:05 < Keybuk> vmiklos: exactly the same error with 1.6.0.5 20:07 < Keybuk> $ git fast-export --signed-tag=strip --all 20:07 < Keybuk> fatal: No tagger for tag 4ea98ca6db3b84f5bc16eac8574e5c209ec823ce

I think it would be nice to handle the situation better than just die().

What about a --force option that would fake the tagger in case the tag points to a commmit and use the commiter from there?

I'm willing to work on this, but I thought it's better to discuss the right solution for the problem first.

Thanks.
Next: Junio C Hamano
Message 1 of 11 in “git-fast-export and tags without a tagger”
  1. Miklos VajnaDec 18, 2008
  2. Junio C HamanoDec 18, 2008
  3. fast-export: deal with tag objects that do not have a taggerJohannes Schindelin, Dec 18, 2008
  4. Miklos VajnaDec 18, 2008
  5. Junio C HamanoDec 18, 2008
  6. Miklos VajnaDec 18, 2008
  7. fast-export: deal with tag objects that do not have a taggerJohannes Schindelin, Dec 20, 2008
  8. fast-import: make tagger information optionalJunio C Hamano, Dec 20, 2008
  9. Miklos VajnaDec 20, 2008
  10. Shawn O. PearceDec 20, 2008
  11. Miklos VajnaDec 18, 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.