git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] add lame win32 credential-helper

From
SBStephen Bash <bash@genarts.com>
Date
Sep 16, 2011, 12:59 UTC
Message-ID
<23805783.18971.1316177988773.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<CABPQNSZjGzyxJKWRDDWxRj_SLdC1Y_9TxnAMOA+b-Pw3+X-E7w@mail.gmail.com>
----- Original Message -----
Show 16 quoted lines
> From: "Erik Faye-Lund" <kusmabite@gmail.com>
> To: "Jeff King" <peff@peff.net>
> Cc: git@vger.kernel.org, jaysoffian@gmail.com, gitster@pobox.com
> Sent: Thursday, September 15, 2011 5:48:30 PM
> Subject: Re: [PATCH/RFC] add lame win32 credential-helper
> 
> > If it's too hard to adapt it to whatever IPC
> > mechanism would be appropriate on Windows, we can just leave it out
> > on that platform.
> >
> > But the core code in git itself should be pretty straight forward.
> 
> I didn't mean that it was impossible to port, just that it didn't compile
> as-is. I haven't looked into fixing up the code so it compiles on Windows
> again myself. And I'm not really planning to; I have little git-time
> these days, and little knowledge of how unix-sockets works...
This may be common knowledge, but from our brief experiment with them last fall, Windows Named Pipes are fairly similar to Unix Domain Sockets (not named FIFOs as one would expect...).  We didn't quite get a perfect replacement using preprocessor macros, but I think you can get pretty close (we eventually dumped the idea in favor of straight TCP sockets that behave the same on all our platforms of interest).

HTH, Stephen

Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 4 of 5 in “add lame win32 credential-helper”
  1. add lame win32 credential-helperErik Faye-Lund, Sep 15, 2011
  2. Jeff KingSep 15, 2011
  3. Erik Faye-LundSep 15, 2011
  4. Stephen BashSep 16, 2011
  5. Erik Faye-LundSep 30, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.