Re: First cut at git port to Cygwin
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 4, 2005, 12:31 UTC
- Message-ID
- <81b0412b0510040531m441ca759k6d1f3fbf0cd248ce@mail.gmail.com>
- In-Reply-To
- <433B3B10.5050407@zytor.com>
On 9/29/05, H. Peter Anvin <hpa@zytor.com> wrote:
Show 8 quoted lines
> 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"?