Re: Updated Kernel Hacker's guide to git

Stefan Richter
2008-06-30T06:28:19Z

Jeff Garzik wrote:
> Stefan Richter wrote:
>> A while ago the default behavior of git pull was changed to fetch all
>> tags which point to objects that can be reached from any of the tracked
>> heads.
>
>
> This does not work in all cases. When I retrieve the latest kernel, it
> downloads the tags:
>
> cd /spare/repo/linux-2.6
> git pull
>
> but when I pull those changes into another local repo, the tags do -not-
> follow the objects:
>
> cd /spare/repo/misc-2.6
> git checkout master
> git pull ../linux-2.6
> git fetch --tags ../linux-2.6 # still required to this day

I guess this is because /spare/repo/misc-2.6 does not have branches of
/spare/repo/linux-2.6 configured as remote (tracking) branches.
--
Stefan Richter
-=====-==--- -==- ====-