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

git fast-export problem with tags

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Nov 22, 2008, 02:29 UTC
Message-ID
<20081122022913.GC4746@genesis.frugalware.org>
Hi Johannes,

It seems in some cases the tag messages of annotated tags are not exported. Here is a reproducer:

git init echo a > file git add file git commit -m i git tag -a -m "one dot zero" 1.0

Now the output of 'git fast-export --all' does not contain the "one dot zero" message.

But if you go a bit futher and make master point to a commit different to the tag:

echo b > file git add file git commit -m b

then the output of 'git fast-export --all' clearly has it.
Is this a bug or have I missed something? ;-)
Thanks.
Next: Miklos Vajna
Message 1 of 6 in “git fast-export problem with tags”
  1. Miklos VajnaNov 22, 2008
  2. Add new testcase to show fast-export does not always exports all tagsMiklos Vajna, Nov 22, 2008
  3. 1/2 Simplify and fix t9301Johannes Schindelin, Nov 23, 2008
  4. 2/2 fast-export: use an unsorted string list for extra_refsJohannes Schindelin, Nov 23, 2008
  5. Miklos VajnaNov 23, 2008
  6. Junio C HamanoNov 24, 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.