[jboss-as7-dev] Why is my clone missing recent tags?

Jason T. Greene jason.greene at redhat.com
Tue Oct 18 14:26:30 EDT 2011


BTW the reason this happens is that git by default fetches tags lazily. 
So if you happen to fetch / pull a branch and it comes across a commit 
that was a tag point, it will pull down the tag. In this case the tags 
below that you see where not part of any active branch, those tags were 
created off of another tag, and changes where cherry-picked on top of 
that source point.


On 10/18/11 1:20 PM, Scott Stark wrote:
> That did it.
>
> [63](ironmaiden:jboss-as)>  git fetch --tags upstream master
> remote: Counting objects: 7027, done.
> remote: Compressing objects: 100% (2000/2000), done.
> remote: Total 5581 (delta 2438), reused 5105 (delta 2078)
> Receiving objects: 100% (5581/5581), 1003.70 KiB | 501 KiB/s, done.
> Resolving deltas: 100% (2438/2438), completed with 441 local objects.
>   From git://github.com/jbossas/jboss-as
>    * branch            master     ->  FETCH_HEAD
>    * [new tag]         7.0.1.Final ->  7.0.1.Final
>    * [new tag]         7.0.2.Final ->  7.0.2.Final
>    * [new tag]         7.0.2.Final-prerelease ->  7.0.2.Final-prerelease
>    * [new tag]         7.0.2.SP1-prerelease ->  7.0.2.SP1-prerelease
>
> On 10/17/11 6:24 PM, Stuart Douglas wrote:
>> Can you try
>>
>> git fetch --tags
>>
>> Stuart
>>
>> On 18/10/2011, at 12:10 PM, Scott Stark wrote:
>>
>>> For some reason a pull is no longer getting the tags from the
>>> jbossas/jboss-as repo. I just pulled down the latest changes, but only
>>> picked up one new tag. All of the release tags are missing.
>>>
>>> [59](ironmaiden:jboss-as)>   git pull upstream master
>>>   From git://github.com/jbossas/jboss-as
>>>    * branch            master     ->   FETCH_HEAD
>>> Already up-to-date.
>>> [60](ironmaiden:jboss-as)>   git tag -l
>>> 7.0.0.Alpha1
>>> 7.0.0.Alpha1-final
>>> 7.0.0.Beta1
>>> 7.0.0.Beta1-prerelease
>>> 7.0.0.Beta2
>>> 7.0.0.Beta2-prerelease
>>> 7.0.0.Beta3
>>> 7.0.0.Beta6OS
>>> 7.0.0.CR1
>>> 7.0.0.Final
>>> 7.0.0.Final-prerelease
>>> 7.0.0.Final-prerelease2
>>> 7.0.0.Final-prerelease3
>>> 7.1.0.Alpha1
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat


More information about the jboss-as7-dev mailing list