From: Alex Riesen Date: Tue, 04 Oct 2005 12:31:40 GMT Subject: Re: First cut at git port to Cygwin Message-ID: <81b0412b0510040531m441ca759k6d1f3fbf0cd248ce@mail.gmail.com> In-Reply-To: <433B3B10.5050407@zytor.com> 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). PS: Does broken rename(2) qualify a system "not worthy to support"?