From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: Updated Kernel Hacker's guide to git Date: Mon, 31 Dec 2007 09:31:40 -0800 Message-ID: <7v4pdy7oub.fsf@gitster.siamese.dyndns.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=us-ascii Cc: Jan Engelhardt , Jeff Garzik , Linux Kernel , Git Mailing List To: Stefan Richter X-From: git-owner@vger.kernel.org Mon Dec 31 18:32:24 2007 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 1J9OUy-0004oB-14 for gcvg-git-2@gmane.org; Mon, 31 Dec 2007 18:32:24 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751385AbXLaRb4 (ORCPT ); Mon, 31 Dec 2007 12:31:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750905AbXLaRb4 (ORCPT ); Mon, 31 Dec 2007 12:31:56 -0500 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:42638 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbXLaRbz (ORCPT ); Mon, 31 Dec 2007 12:31:55 -0500 Received: from a-sasl-quonix (localhost [127.0.0.1]) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id CCC458D55; Mon, 31 Dec 2007 12:31:53 -0500 (EST) Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id 245448D52; Mon, 31 Dec 2007 12:31:44 -0500 (EST) In-Reply-To: <4778D1CD.4020001@s5r6.in-berlin.de> (Stefan Richter's message of "Mon, 31 Dec 2007 12:26:05 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Stefan Richter writes: > 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. > > Old behaviour: Option --tags was needed to fetch tags at all. Current > behavior: Option --tags forces to download all tags and the objects > they point to. Option --no-tags works like the old default behavior. > > Readers of Kernel Hackers' Guide to git will most certainly have a > recent enough version of git so that the "download_tags" subsection can > be removed without replacement. All correct. That "A while ago" is quite a while ago, though. IIRC it was added very early in 2006, which is eons ago in git timescale.