From: Jeff Garzik Date: Sun, 07 Jan 2007 22:21:47 GMT Subject: Re: [KORG] Re: kernel.org lies about latest -mm kernel Message-ID: <45A1727B.7070302@garzik.org> In-Reply-To: <7v4pr21p0o.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Greg KH writes: > >> Any shortcut to clone or set up a repo using "alternatives" so that we >> don't have this issue at all? > > "clone -l -s" has been there for quote a long time (since mid Aug > 2005). Because -s implies -l since end of November 2005, you > should be able to say > > git clone --bare -s ..../torvalds/linux-2.6.git stable-queue.git Yes but what about existing trees? Can you add an alternatives file, then prune, and get the same result as if you had done a clone -s ? Jeff