From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Contreras Subject: Re: [1.8.0] use 'stage' term consistently Date: Sun, 6 May 2012 22:15:34 +0200 Message-ID: References: <201205061221.29592.jnareb@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Jakub Narebski , git@vger.kernel.org, Junio C Hamano , Jonathan Nieder , Jeff King , Scott Chacon , Paolo Ciarrocchi , Johannes Schindelin , Piotr Krukowiecki To: Matthieu Moy X-From: git-owner@vger.kernel.org Sun May 06 22:16:15 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SR7sN-0005q7-4J for gcvg-git-2@plane.gmane.org; Sun, 06 May 2012 22:16:15 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754274Ab2EFUPg (ORCPT ); Sun, 6 May 2012 16:15:36 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:48570 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754221Ab2EFUPf (ORCPT ); Sun, 6 May 2012 16:15:35 -0400 Received: by eekc41 with SMTP id c41so1241850eek.19 for ; Sun, 06 May 2012 13:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LgwLiKl8MPPk8oL+SyHIXp+UFU+683mZjaQ5JPRDA2k=; b=zId3Drw0owuFpwQsSiNlaoAel+aqpqDOT8yJRl0pcvn9ORmwuvpjLN0eW6aMNNKXwZ DYtkVTothHK3MZUIa/0Ttko21K0mPRpT5tzm88K1ewyu27NRciXLu4KRl5uwS0yj1Pli en5HIE0M9lRxFnIBdrkXxlGc+ssRujvvurjBRtqhx3AR2KrvH46CY6qedkJiFRmxwo82 rLizZohpokAaJfb4DzQOtVAmdi0I7Jkoyrude80t7cb1tbt9kqEhQF+7jVJcZSi9q5ik MfV3p+xnEGYm6AqoFV18HEVSliwkoEXN5o9UG1nl3p4bfejHfnQdjN1s0ynkGxklF+/2 Pn2Q== Received: by 10.14.47.9 with SMTP id s9mr2268077eeb.50.1336335334283; Sun, 06 May 2012 13:15:34 -0700 (PDT) Received: by 10.213.103.18 with HTTP; Sun, 6 May 2012 13:15:34 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Sun, May 6, 2012 at 12:39 PM, Matthieu Moy wrote: > Jakub Narebski writes: > >> Actually Git porcelain does use 'the index' as a cache (computing), >> i.e. as a place to store redundant information (stat data, sha-1 >> for trees with DIRC dircache extension) for faster access. > > This is an implementation optimization, that is not supposed to be > visible for the user. Commands refering to the "cache" are not about > stat data cache (e.g. "git diff --cached" is really about the content, > not the stat cache). Exactly; that's an implementation detail that doesn't affect how the user actually interacts with the staging area. -- Felipe Contreras