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

Re: Bug report: Git 1.8 on Ubuntu 13.10 refs not valid

From
Jeff King <peff@peff.net>
Date
Mar 31, 2014, 18:01 UTC
Message-ID
<20140331180118.GA31023@sigill.intra.peff.net>
In-Reply-To
<5339A38D.1080504@gmail.com>
On Mon, Mar 31, 2014 at 07:19:09PM +0200, Siggi wrote:
> here are the two outputs you wanted to see.
The interesting bit is at the end...
Show 13 quoted lines
> < HTTP/1.1 200 OK
> < Date: Mon, 31 Mar 2014 17:04:57 GMT
> * Server Apache/2.2.22 (Ubuntu) is not blacklisted
> < Server: Apache/2.2.22 (Ubuntu)
> < X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.19
> < ETag: "2ab570112563de50022189f0a2ffcdd4"
> < Pragma: no-cache
> < Expires: Fri, 01 Jan 1980 00:00:00 GMT
> < X-Runtime: 72
> < Cache-Control: no-cache, max-age=0, must-revalidate
> < Content-Length: 1047
> < Status: 200
> < Content-Type: application/x-git-upload-pack-advertisement; charset=utf-8

This content-type is the problem. There should not be a charset parameter (it is meaningless, and it throws off git's content-type check). So your web server configuration (or the redmine git plugin) should be fixed, but you'll have to talk to redmine folks to figure that part out.

That being said, git _could_ be more liberal in accepting a content-type with parameters (even though it does not know about any parameters, and charset here is completely meaningless). I have mixed feelings on that.

-Peff
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 5 in “Bug report: Git 1.8 on Ubuntu 13.10 refs not valid”
  1. SiggiMar 27, 2014
  2. Jeff KingMar 27, 2014
  3. Jeff KingMar 31, 2014
  4. Junio C HamanoMar 31, 2014
  5. Jeff KingMar 31, 2014

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.