From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: sparse support in pu Date: Mon, 17 Aug 2009 12:36:43 +0200 Message-ID: <4A8932BB.7030002@viscovery.net> References: <2729632a0908162309ma6e7d41kc3bafe4575120630@mail.gmail.com> <2729632a0908170149o425544dcw52aeb6ac6ee1437d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: skillzero@gmail.com, git@vger.kernel.org To: Nguyen Thai Ngoc Duy X-From: git-owner@vger.kernel.org Mon Aug 17 12:37:00 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MczaG-0001Mc-4z for gcvg-git-2@lo.gmane.org; Mon, 17 Aug 2009 12:37:00 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757598AbZHQKgo (ORCPT ); Mon, 17 Aug 2009 06:36:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757595AbZHQKgo (ORCPT ); Mon, 17 Aug 2009 06:36:44 -0400 Received: from lilzmailso02.liwest.at ([212.33.55.13]:19946 "EHLO lilzmailso02.liwest.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757541AbZHQKgn (ORCPT ); Mon, 17 Aug 2009 06:36:43 -0400 Received: from cpe228-254.liwest.at ([81.10.228.254] helo=linz.eudaptics.com) by lilzmailso02.liwest.at with esmtpa (Exim 4.69) (envelope-from ) id 1Mcza0-0003rq-4I; Mon, 17 Aug 2009 12:36:44 +0200 Received: from [127.0.0.1] (J6T.linz.viscovery [192.168.1.96]) by linz.eudaptics.com (Postfix) with ESMTP id DAAA3C6C2; Mon, 17 Aug 2009 12:36:43 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Spam-Score: -1.4 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Nguyen Thai Ngoc Duy schrieb: > [I haven't read the rest of the mail, will read it through later] > > On Mon, Aug 17, 2009 at 3:49 PM, wrote: >> It would be nice if .git/info/sparse is there by default (like >> .git/info/exclude) with some commented out instructions (also like >> .git/info/exclude). > > No it can't be there by default. An empty .git/info/sparse means clear > assume-unchanged bit out of all files in index. It's not the same as > lacking .git/info/sparse (which does disable sparse checkout feature). Huh? Shouldn't the meaning of .git/info/sparse be: "the files mentioned in this file are not checked out." That is, if the file is empty, then no file is not checked out, IOW, all files are checked out. In order to advocate my earlier proposal: Name the file .git/info/phantoms, then it's clear: "The files mentioned here are phantoms" - they exist in the index, but not in the worktree; no phantoms means that everything is checked out. -- Hannes