From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262033AbVFWDG1 (ORCPT ); Wed, 22 Jun 2005 23:06:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262031AbVFWDG0 (ORCPT ); Wed, 22 Jun 2005 23:06:26 -0400 Received: from mail.dvmed.net ([216.237.124.58]:46513 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S262026AbVFWDGM (ORCPT ); Wed, 22 Jun 2005 23:06:12 -0400 Message-ID: <42BA271F.6080505@pobox.com> Date: Wed, 22 Jun 2005 23:06:07 -0400 From: Jeff Garzik User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Torvalds CC: Greg KH , Linux Kernel , Git Mailing List Subject: Re: Updated git HOWTO for kernel hackers References: <42B9E536.60704@pobox.com> <20050622230905.GA7873@kroah.com> <42B9FCAE.1000607@pobox.com> <42BA14B8.2020609@pobox.com> <42BA1B68.9040505@pobox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > What I'm saying is that for a tagged release, that really translates to > "please pull tag xyz from repo abc" and the tools like git-ssh-pull will > just do the right thing: they'll pull the tag itself _and_ they'll pull > the objects it points to. Yes, everything does the right there here. > Of course, right now "git fetch" is hardcoded to always write FETCH_HEAD > (not the tag name), but I'm saying ythat _literally_ you can do this > already: > > git fetch repo-name tags/xyz && > ( cat .git/FETCH_HEAD > .git/tags/xyz ) > > and it should do exactly what you want. Hmm? No, not at all. This sub-thread is all about tags/ dir updates. Users should be able to do git pull-more rsync://... and get ALL of .git/refs/tags/* that have appeared since their last update. Concrete example: I have a git tree on local disk. I need to find out where, between 2.6.12-rc1 and 2.6.12, a driver broke. This requires that I have -ALL- linux-2.6.git/refs/tags on disk already, so that I can bounce quickly and easily between tags. It is valuable to have a local copy of -all- tags, -before- you need them. That is why people like me and GregKH use rsync directly. We want EVERYTHING in the kernel.org linux-2.6.git tree, not just what we know we need right now. Jeff