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

Missing tags from git-clone, but not git-clone -l ?

From
GCGerald (Jerry) Carter <jerry@samba.org>
Date
Oct 7, 2007, 18:23 UTC
Message-ID
<4709242F.7070004@samba.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,

I'm really a but stumped on this one. I've got a set of tags (created by git-svnimport):

  $ git tag -l release-4*
  release-4-0-0tp1
  release-4-0-0tp2
  release-4-0-0tp3
  release-4-0-0tp4

but when I "git-clone samba-svnimport tags-test"", one tag is missing.

  $ git tag -l release-4*
  release-4-0-0tp2
  release-4-0-0tp3
  release-4-0-0tp4

Running git-clone -l works as expected (i.e. the tp1 tag appears in the clone).

Here's some more info about the tag in the original svnimport repo:

$ ls -l .git/refs/tags/ total 0

$ grep release-4 .git/packed-refs 2fbd67786af06b8f5184048d997b660cbd80cbc4 refs/tags/release-4-0-0tp1 a786f423d6dee793418e8c6591f9b962c0fa96bc refs/tags/release-4-0-0tp2 1fea21bffc836a28e3e86e930d3d9fca85590ae6 refs/tags/release-4-0-0tp3 c58417a9934d3c1f04becb542a9fb6334a07f19d refs/tags/release-4-0-0tp4

$ for h in `grep release-4 .git/packed-refs | awk '{print $1}'`; \
  do git-cat-file -t $h; done
tag
tag
tag
tag

Any suggestions on how to debug this? Am I just misunderstanding something about tags?

cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHCSQvIR7qMdg1EfYRAhOIAKDpefcPqyVhPfxTazJhtd/QrmzM8QCgyyQc e0Br/1PngGmQlGNkME+tY7c= =+PIn -----END PGP SIGNATURE-----

Next: Gerald (Jerry) Carter
Message 1 of 2 in “Missing tags from git-clone, but not git-clone -l ?”
  1. Gerald (Jerry) CarterOct 7, 2007
  2. Gerald (Jerry) CarterOct 7, 2007

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.