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