From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: Re: Switching from CVS to GIT Date: Tue, 16 Oct 2007 03:17:08 -0400 Message-ID: References: <1192293466.17584.95.camel@homebase.localnet> <1192381040.4908.57.camel@homebase.localnet> <1773C6F0-87BE-4F3C-B68A-171E1F32E242@lrde.epita.fr> <47125F74.9050600@op5.se> <47126957.1020204@op5.se> <20071014221446.GC2776@steel.home> <47145D6D.80001@viscovery.net> Reply-To: Eli Zaretskii Cc: barkalow@iabervon.org, raa.lkml@gmail.com, Johannes.Schindelin@gmx.de, ae@op5.se, tsuna@lrde.epita.fr, git@vger.kernel.org, make-w32@gnu.org To: Johannes Sixt X-From: git-owner@vger.kernel.org Tue Oct 16 09:17:27 2007 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 1Ihgg6-0002Ol-SL for gcvg-git-2@gmane.org; Tue, 16 Oct 2007 09:17:23 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758513AbXJPHRM (ORCPT ); Tue, 16 Oct 2007 03:17:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758038AbXJPHRL (ORCPT ); Tue, 16 Oct 2007 03:17:11 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:46685 "EHLO fencepost.gnu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755209AbXJPHRK (ORCPT ); Tue, 16 Oct 2007 03:17:10 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ihgfs-0004DL-S5; Tue, 16 Oct 2007 03:17:08 -0400 In-reply-to: <47145D6D.80001@viscovery.net> (message from Johannes Sixt on Tue, 16 Oct 2007 08:42:53 +0200) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: > Date: Tue, 16 Oct 2007 08:42:53 +0200 > From: Johannes Sixt > Cc: Daniel Barkalow , raa.lkml@gmail.com, > Johannes.Schindelin@gmx.de, ae@op5.se, > Benoit SIGOURE , > "git@vger.kernel.org >> Git Mailing List" , > Make Windows > > Thanks to Marius Storm-Olsen we already have a stat replacement that's twice > as fast as msvcrt's stat. I calls only one API function > (GetFileAttributesEx, but of course I don't know what's going on under its > hood), because we need only a small part of struct stat filled in correctly. Yes, I've seen that. What I'm saying is that you can combine `readdir' with `stat' in one API call (FindFirstFile/FindNextFile), which will both read the directory and return you the attributes you get from `stat'. Think about `readdir' that brings you mode bits and modification time together with the name, as some modern systems do.