From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Subject: Re: [PATCH] fix compare symlink against readlink not data Date: Fri, 06 May 2005 18:23:34 +0200 Message-ID: <1115396614.32065.23.camel@localhost.localdomain> References: <20050506134501.GA11430@vrfy.org> <20050506160359.GB6904@kroah.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri May 06 18:18:21 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU5VU-0002g7-7D for gcvg-git@gmane.org; Fri, 06 May 2005 18:16:52 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261157AbVEFQXi (ORCPT ); Fri, 6 May 2005 12:23:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261186AbVEFQXi (ORCPT ); Fri, 6 May 2005 12:23:38 -0400 Received: from soundwarez.org ([217.160.171.123]:1753 "EHLO soundwarez.org") by vger.kernel.org with ESMTP id S261157AbVEFQXg (ORCPT ); Fri, 6 May 2005 12:23:36 -0400 Received: from dhcp-113.off.vrfy.org (d081180.adsl.hansenet.de [80.171.81.180]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by soundwarez.org (Postfix) with ESMTP id 88A9F2E91E; Fri, 6 May 2005 18:23:33 +0200 (CEST) To: Greg KH In-Reply-To: <20050506160359.GB6904@kroah.com> X-Mailer: Evolution 2.2.2 (2.2.2-1) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org On Fri, 2005-05-06 at 09:03 -0700, Greg KH wrote: > On Fri, May 06, 2005 at 03:45:01PM +0200, Kay Sievers wrote: > > Fix update-cache to compare the blob of a symlink against the link-target > > and not the file it points to. Also ignore all permissions applied to > > links. > > Thanks to Greg for recognizing this while he added our list of symlinks > > back to the udev repository. > > Hm, even with this patch applied (it's in Linus's tree right now), I > still get the following with a clean checked out udev tree: > $ cg-diff > Index: test/sys/block/cciss!c0d0/device > =================================================================== I can't reproduce this. Are you sure, that the git-core binaries are called and not the cogito ones? git-update-cache --refresh git-diff-cache -r HEAD from the core-git should print nothing. Thanks, Kay