From: Jeff King <peff@peff.net>
To: Siggi <siggin@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Bug report: Git 1.8 on Ubuntu 13.10 refs not valid
Date: Mon, 31 Mar 2014 14:01:18 -0400 [thread overview]
Message-ID: <20140331180118.GA31023@sigill.intra.peff.net> (raw)
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...
> < 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
next prev parent reply other threads:[~2014-03-31 18:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 14:45 Bug report: Git 1.8 on Ubuntu 13.10 refs not valid Siggi
2014-03-27 18:49 ` Jeff King
[not found] ` <5339A38D.1080504@gmail.com>
2014-03-31 18:01 ` Jeff King [this message]
2014-03-31 18:27 ` Junio C Hamano
2014-03-31 18:57 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140331180118.GA31023@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=siggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).