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

How to build git-remote-http properly?

From
public_vi <public_vi@tut.by>
Date
Nov 9, 2010, 01:42 UTC
Message-ID
<4CD8A6FA.8030506@tut.by>

I have built git from sources, but git-remote-http[s] does not work: it sends invalid data.

https://gist.github.com/667250

While normal (the one from deb package) sends a thing like this: %%% 0084f4ff491badd7290e3bcc83b7e783b0b34b8fa5ce 157b8e24592ee8a587da4aa19ae0d2b5395308dc refs/heads/master. report-status side-band-64k0000PACK..........x....<truncated>

(http://vi-server.org/vi/d/git_http_push_failure.cap)

%%% from-souce git-remote-http sends things like this: %%% 0084f4ff491badd7290e3bcc83b7e783b0b34b8fa5ce 157b8e24592ee8a587da4aa19ae0d2b5395308dc refs/heads/master.....!..........I0..I...I............!............... ...8...P...h..................I.......................I.......................I............`...`......I.......................I.......................I.......................I.....................................................a..............(.......p...http.....

(http://vi-server.org/vi/d/git_http_push_failure.cap)

%%% which causes http backend to reject the garbage and remote-http hangs or reports error.

What cause it? How to investigate/fix? May be there should be a test for git-remote-http integrity?

Additional information is in https://gist.github.com/667250
Next: public_vi
Message 1 of 2 in “How to build git-remote-http properly?”
  1. public_viNov 9, 2010
  2. public_viNov 9, 2010

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.