From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: Updated Kernel Hacker's guide to git Date: Sun, 29 Jun 2008 22:51:50 -0400 Message-ID: <48684A46.7040802@garzik.org> References: <200612241807.kBOI746w008739@laptop13.inf.utfsm.cl> <476E42BF.1010300@garzik.org> <4778D1CD.4020001@s5r6.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Engelhardt , Jeff Garzik , Linux Kernel , Git Mailing List To: Stefan Richter X-From: git-owner@vger.kernel.org Mon Jun 30 04:52:56 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KD9Vd-0006K4-3N for gcvg-git-2@gmane.org; Mon, 30 Jun 2008 04:52:53 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbYF3Cv4 (ORCPT ); Sun, 29 Jun 2008 22:51:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751273AbYF3Cv4 (ORCPT ); Sun, 29 Jun 2008 22:51:56 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:59281 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbYF3Cvz (ORCPT ); Sun, 29 Jun 2008 22:51:55 -0400 Received: from cpe-069-134-153-115.nc.res.rr.com ([69.134.153.115] helo=core.yyz.us) by mail.dvmed.net with esmtpsa (Exim 4.69 #1 (Red Hat Linux)) id 1KD9Ud-0000GZ-Eb; Mon, 30 Jun 2008 02:51:53 +0000 User-Agent: Thunderbird 2.0.0.14 (X11/20080501) In-Reply-To: <4778D1CD.4020001@s5r6.in-berlin.de> X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.2.4 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Stefan Richter wrote: > Jan Engelhardt wrote: >>> http://linux.yyz.us/git-howto.html >> It says >> >> """Don't forget to download tags from time to time. >> >> git pull only downloads sha1-indexed object data, and the requested >> remote head. This misses updates to the .git/refs/tags/ and >> .git/refs/heads/ directories. For tags, run git fetch --tags $URL.""" >> >> But when I do git pull on a simple tracking tree (e.g. git-clone >> torvalds/linux-2.6.git; git pull;) it automatically grabs new tags. > > 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 Regards, Jeff