From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Storm-Olsen Subject: Re: [PATCH 3/3] Add shortcut in refresh_cache_ent() for marked entries. Date: Fri, 30 May 2008 15:14:20 +0200 Message-ID: <483FFDAC.8090606@trolltech.com> References: <3088e5a9507aa55ee55f512fb3bd554f1658d2e3.1212152269.git.marius@trolltech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig047A06CDA3539EDA3D7C798B" Cc: Junio C Hamano To: git X-From: git-owner@vger.kernel.org Fri May 30 15:15:15 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1K24Rt-0001kU-1K for gcvg-git-2@gmane.org; Fri, 30 May 2008 15:15:13 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750892AbYE3NOV (ORCPT ); Fri, 30 May 2008 09:14:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751340AbYE3NOV (ORCPT ); Fri, 30 May 2008 09:14:21 -0400 Received: from hoat.troll.no ([62.70.27.150]:46393 "EHLO hoat.troll.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbYE3NOV (ORCPT ); Fri, 30 May 2008 09:14:21 -0400 Received: from hoat.troll.no (tedur.troll.no [62.70.27.154]) by hoat.troll.no (Postfix) with SMTP id 02E5320BFA; Fri, 30 May 2008 15:14:20 +0200 (CEST) Received: from [10.3.4.215] (error.troll.no [10.3.4.215]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hoat.troll.no (Postfix) with ESMTP id EBC7120C0C; Fri, 30 May 2008 15:14:19 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 In-Reply-To: X-Enigmail-Version: 0.95.6 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXU1NTAwMABAQGsrKyE hIQwMDAEBAS8hGUfAAACQUlEQVQ4jV2TS47cMAxEKSDZW1CfwMB4PYLkrKchsveJRR2gEen+R0hR 9vziBmahhyqSRQ4NfF1FmIv3dH4usNAGoFprBVguQJmZ1nX0XiHgEukTCK3TairiZeXcVGzmZIoU 3738pehdVbiU9KFgMQWeZ1fpHZDfRS4rPb3eQVaZChGx4ikt5GDkAZQ2KKohzjklno4+iJpVhxka ZjSpasJ4gdGaEQMWTMjRa5uTqza0XDJjzhIdzGTMrqoopimoIPCKZtVOq265MAXpMLXycmVl2Y8C oE1FkT/faKauOjYoHJyOxHfvixjowvI0xZJsKykubgLYzuJMdBO+L86TjxfQ9hz9jpSudbnXXzRm tor5i3MUONpOfARAhlWbzWF7OhP2eSeEW9HUBNiHOxUM8HLWHhUAj3NZNsdqRZpNA+DJ+XlX+Qc9 Z4ZjHX8LRUzgTBBef84NQoCMOcS0+BMsj3klbTzRri03ugXr9em1GfgzDAyEn4J3fvFI5YwdTrYu 1ntAY1h5ysM2OMGm+cBOocCXHisAHu2PagnLghoG2krz8bzsA4fj7KxCGk+63jt+DDCtYjbFNkHD nRwpRqsQYx5WYzsbm/eBfn0I4TbOGvMWqhQAiEDzNs4apumCI0x2OyHtY7uAlZff/sanbH9+AGT1 KOEmUlJISdYPgEgehw+cTZEf6xeFyoEjCPgv+A62KhW3EOy9PL7WmCBMRWmfYN0OqW9krzl/Ay91 75HMqfDtP8UFckFUX2rwrm/kTVB2gH+hdu4avZVCuAAAAABJRU5ErkJggg== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig047A06CDA3539EDA3D7C798B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Marius Storm-Olsen said the following on 30.05.2008 14:38: > When a cache entry has been marked as CE_VALID, the user has > promised us that any change in the work tree does not matter. > Just mark the entry as up-to-date, and continue. >=20 > Done-by: Junio C Hamano > Signed-off-by: Marius Storm-Olsen This patch actually cuts the commit/status time in half for me, on my=20 Windows machine, when the whole work tree is validated, and=20 core.ignoreStat =3D=3D true. --=20 =2Emarius [@trolltech.com] 'if you know what you're doing, it's not research' --------------enig047A06CDA3539EDA3D7C798B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iD8DBQFIP/2sKzzXl/njVP8RAmGHAJ9Rw1ythJMaulaVSNptOOGpraqgKwCgqGMg ax8aWnt8kerT2h/k0Wte5Es= =xCOg -----END PGP SIGNATURE----- --------------enig047A06CDA3539EDA3D7C798B--