From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Nieder Subject: Re: [RFC/PATCH] Add multiple workdir support to branch/checkout Date: Wed, 5 Oct 2011 16:57:42 -0500 Message-ID: <20111005215742.GB12747@elie> References: <7vpqib8jzk.fsf@alter.siamese.dyndns.org> <7vzkhf713u.fsf@alter.siamese.dyndns.org> <20111005200043.GA32732@inner.h.iocl.org> <20111005213002.GA12667@elie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andreas Krey , Junio C Hamano , Nguyen Thai Ngoc Duy , git@vger.kernel.org To: Jay Soffian X-From: git-owner@vger.kernel.org Wed Oct 05 23:57:55 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBZTN-0008Uc-Qd for gcvg-git-2@lo.gmane.org; Wed, 05 Oct 2011 23:57:54 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935414Ab1JEV5t (ORCPT ); Wed, 5 Oct 2011 17:57:49 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:62263 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934884Ab1JEV5t (ORCPT ); Wed, 5 Oct 2011 17:57:49 -0400 Received: by gyg10 with SMTP id 10so2012624gyg.19 for ; Wed, 05 Oct 2011 14:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bUtota347LVRkatiE7Ha/oAn3Mn1lol8W278NOLdCoI=; b=Mz0OuR18DUAEdwr8vI62+vycOFlgkYFEe+mPialmAiSGH5Na7x1xwh4zojy+Wodc6G JxrADPccLEmekRtCz+vREjdLgRlgHEtpM9Mx+8nmu9yz4mNWujgzXta6bJ0qu+05Vx9K 7SBUFJLWgnrDt6MRJQaz69YCLKUzJOTScKMqU= Received: by 10.236.168.41 with SMTP id j29mr16673302yhl.32.1317851868507; Wed, 05 Oct 2011 14:57:48 -0700 (PDT) Received: from elie (99-120-124-35.lightspeed.cicril.sbcglobal.net. [99.120.124.35]) by mx.google.com with ESMTPS id w70sm4371787yhk.6.2011.10.05.14.57.46 (version=SSLv3 cipher=OTHER); Wed, 05 Oct 2011 14:57:47 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+46 (b01d63af6fea) (2011-07-01) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jay Soffian wrote: > I don't understand this. Is it about not gc'ing commits that other > workdirs are detached on, or something more? > > I like that each of my workdirs have their own HEAD reflog. Yes, sorry for the lack of clarity. I only meant that "git gc" needs to be aware of the HEAD reflog for other workdirs (e.g., as described in the thread following madcoder's proposal), not that it would be a good idea for the reflogs to actually be symlinked.