From: Erik Faye-Lund Date: Tue, 12 Mar 2013 09:50:15 GMT Subject: Re: [RFC/PATCH] Documentation/technical/api-fswatch.txt: start with outline Message-ID: In-Reply-To: On Tue, Mar 12, 2013 at 10:43 AM, Ramkumar Ramachandra wrote: > Heiko Voigt wrote: >> While talking about platform independence. How about Windows? AFAIK >> there are no file based sockets. How about using shared memory, thats >> available, instead? It would greatly reduce the needed porting effort. > > What about the git credential helper: it uses UNIX sockets, no? How > does git-credential-winstore [1] work? > > [1]: https://github.com/anurse/git-credential-winstore First, we have a proper credential helper for Windows in contrib/credential/wincred these days. As the one who wrote that, we communicate using stdin/stdout. The credential-helper doesn't maintain state in itself, the Windows Credential Manager does. I suspect git-credential-winstore works the same way. As for Windows support, AFAIK there is no support for Unix domain sockets in Windows. But there is support for named pipes, which is almost the same thing. What we have support for in compat/mingw.[ch] is a different matter, but we can extend that if needed.