From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Riesen Subject: Re: First cut at git port to Cygwin Date: Tue, 4 Oct 2005 15:06:26 +0200 Message-ID: <81b0412b0510040606n41a8bec6o24b47d65ff1c050b@mail.gmail.com> References: <433B3B10.5050407@zytor.com> <81b0412b0510040531m441ca759k6d1f3fbf0cd248ce@mail.gmail.com> Reply-To: Alex Riesen Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Git Mailing List X-From: git-owner@vger.kernel.org Tue Oct 04 15:08:31 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMmVJ-0002zU-IK for gcvg-git@gmane.org; Tue, 04 Oct 2005 15:06:45 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932441AbVJDNGa (ORCPT ); Tue, 4 Oct 2005 09:06:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932443AbVJDNGa (ORCPT ); Tue, 4 Oct 2005 09:06:30 -0400 Received: from nproxy.gmail.com ([64.233.182.203]:63031 "EHLO nproxy.gmail.com") by vger.kernel.org with ESMTP id S932441AbVJDNG3 convert rfc822-to-8bit (ORCPT ); Tue, 4 Oct 2005 09:06:29 -0400 Received: by nproxy.gmail.com with SMTP id x37so238811nfc for ; Tue, 04 Oct 2005 06:06:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qRRlWO3o4OpY0I0gKHhIYidV9b037uS/8lwE0oAQZjeDg7mqprMqmSOMdTZB37+V/dEXSvmjZtuB0Ghl3qnSadrSDka03nOzzWSj4PHt6ggXSjRW95905ERAq01LdOF/IGkuhkTufTwuZJ+aNiNrkGY6DwHSUhEOu6K35nKRkqs= Received: by 10.48.239.6 with SMTP id m6mr287657nfh; Tue, 04 Oct 2005 06:06:26 -0700 (PDT) Received: by 10.48.247.10 with HTTP; Tue, 4 Oct 2005 06:06:26 -0700 (PDT) To: "H. Peter Anvin" In-Reply-To: <81b0412b0510040531m441ca759k6d1f3fbf0cd248ce@mail.gmail.com> Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On 10/4/05, Alex Riesen wrote: > On 9/29/05, H. Peter Anvin wrote: > > I have made a first cut at a git port to Cygwin. It looks like the > > "git-diff-tree -p" problem has been resolved independently, or at least > > I can't reproduce it on a fresh Cygwin install (running on XP Home), but > > I have added support for running without the IPv6 and the getaddrinfo() API. > > > > There are still funnies. In particular, Cygwin and Samba handle > > symlinks differently, so you can't trivially share a repository via > > Samba. Linus' "symbolic refs" changes should eventually take care of that. > > I noticed that rename(2) in my copy of cygwin (1.5.18-1) does not remove the > target and returns an error (probably EPERM, but I have reasons not to trust > strerror on that thing). > The repository was on FAT. > Taking "rename(2)" from cygwin's libiberty solved this (they unlink if link(2) > returns EEXIST). I think I have to clarify: I copied the function (like in strcasestr case) into compat/