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

Re: Git push stuck

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Apr 22, 2012, 03:07 UTC
Message-ID
<CAAfQ0EGcFC6TYYrYNvuiJsLw8twKxHmwpwFp+hxQg2iESsbYFQ@mail.gmail.com>
In-Reply-To
<4F929200.4010406@gmail.com>
On Sat, Apr 21, 2012 at 6:54 AM, hen vertis wrote:
Show 6 quoted lines
> hi
> i working with git version 1.7.10.msysgit.1 on windows 7.
> my repository is on Ubuntu.
> i can make fetch and merge.
> but when i trying to push is not working.
> any idea will be welcomed.

This is a known issue with the implementation of the sideband 64k feature when pushing using the bare git protocol. Nobody has been able to adequately explain exactly what the problem is, so there hasn't been a satisfactory patch yet. Windows appears to prevent writes to a socket-backed file descriptor while another process is doing a blocking read (or even a select). Perhaps it's a bug in Windows file descriptor emulation layer, or perhaps its a bug in msysgit. More eyes, and especially patches, are welcome.

Known workarounds include patching out sideband 64k, or using ssh instead of the bare git protocol. More security/encryption is a good thing, so I started using ssh.

CCing the msysgit mailing list, in case there have been recent developments that I've missed.

Peter Harris
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***

*** Please avoid top-posting. ***

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
Previous: Chris Packham
Message 4 of 4 in “Git push stuck”
  1. hen vertisApr 21, 2012
  2. jaseem abidApr 21, 2012
  3. Chris PackhamApr 21, 2012
  4. Peter HarrisApr 22, 2012

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.