Re: One more shallow tree weirdness - tag not pulled?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Wednesday, April 11, 2007 - 6:32 pm

"Robin H. Johnson" <robbat2@gentoo.org> writes:


This is easily explained, and I do not think it has anything to
do with shallow clones.

The initial clone gets all tags, regardless of reachability.
Subsequent fetches however only _follows_ tags that point at
something you have in the repository.  The blob that holds my
GPG public key is not part of any commit, so you would not have
that object in your repository, and subsequent "tag following"
will not see it.

	$ git fetch --tags

is always your friend.


I do not know what you wanted to do, but I suspect you
reinvented a rather expensive

	git ls-remote git-$N

perhaps?


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
One more shallow tree weirdness - tag not pulled?, Robin H. Johnson, (Wed Apr 11, 6:16 pm)
Re: One more shallow tree weirdness - tag not pulled?, Junio C Hamano, (Wed Apr 11, 6:32 pm)
Re: One more shallow tree weirdness - tag not pulled?, Robin H. Johnson, (Wed Apr 11, 8:37 pm)