git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Missing tags from git-clone, but not git-clone -l ?
@ 2007-10-07 18:23 Gerald (Jerry) Carter
  2007-10-07 18:58 ` Gerald (Jerry) Carter
  0 siblings, 1 reply; 2+ messages in thread
From: Gerald (Jerry) Carter @ 2007-10-07 18:23 UTC (permalink / raw)
  To: git

-----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-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing tags from git-clone, but not git-clone -l ?
  2007-10-07 18:23 Missing tags from git-clone, but not git-clone -l ? Gerald (Jerry) Carter
@ 2007-10-07 18:58 ` Gerald (Jerry) Carter
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald (Jerry) Carter @ 2007-10-07 18:58 UTC (permalink / raw)
  To: git

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald (Jerry) Carter wrote:

> 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).

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-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-07 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-07 18:23 Missing tags from git-clone, but not git-clone -l ? Gerald (Jerry) Carter
2007-10-07 18:58 ` Gerald (Jerry) Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).