Missing tags from git-clone, but not git-clone -l ?
-----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
tagAny 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-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 12 lines · Gerald (Jerry) Carter
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-0tp4but when I "git-clone samba-svnimport tags-test"", one tag is missing.
Quoted 7 lines
$ git tag -l release-4* release-4-0-0tp2 release-4-0-0tp3 release-4-0-0tp4Running git-clone -l works as expected (i.e. the tp1 tag appears in the clone).
Sorry. I did get confused. And I now understand what happened. git-clone works correctly. What I did was "git-remote add svn /.../path" followed by a "git-fetch svn". Looks like that one tag was not directly reachable in the history. Running "git-fetch -t svn" gave me the missing tags.
Sorry for the noise.
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
iD8DBQFHCSxvIR7qMdg1EfYRAldVAJ4ns/X3JDrBnTft6JDEL5e8Tv80agCgvb59 /odKKLNtH2E1zB83pHg3Qdc=
=KkBD
-----END PGP SIGNATURE-----