Traditionally it _never_ talked about HEAD as it technically is not a ref.
How likely is it that ls-remote HEAD is added for HTTP as well rather than
stripped for all protocols?
In the latter case, there's of course a solution for Capistrano like using
refs/heads/master as a default instead and allowing the use of other refs by
configuration. I could do such a patch, however, this only makes sense of
ls-remote HEAD won't be added for HTTP.
-sven
From: Mike Hommey <hidden> Date: 2016-06-15 22:44:44
On Sat, Jun 14, 2008 at 07:49:06AM +0000, Sven wrote:
Junio C Hamano <gitster <at> pobox.com> writes:
quoted
Traditionally it _never_ talked about HEAD as it technically is not a ref.
How likely is it that ls-remote HEAD is added for HTTP as well rather than
stripped for all protocols?
When someone sends a patch ;)
FWIW, quickly looking at the code, it seems the rsync backend may have
the same problem. Now, I wonder if other protocols allow to use other
refs such as FETCH_HEAD, or if they special case HEAD. I don't have
enough time to look this up.
Mike
From: Jeff King <hidden> Date: 2016-06-15 22:44:44
On Sat, Jun 14, 2008 at 11:02:44AM +0200, Mike Hommey wrote:
quoted
How likely is it that ls-remote HEAD is added for HTTP as well rather than
stripped for all protocols?
When someone sends a patch ;)
I'm not sure I can bring myself to wait for that. After all, it could
take nearly negative seven weeks:
$ git log -1 --pretty=tformat:'%s (%ar)' be885d96
Make ls-remote http://... list HEAD, like for git://... (7 weeks ago)
-Peff
As I said, I'm lacking the skills. But I'd take part in sponsoring the patch so
it's not another 7 weeks wait :-) I know, it's kinda unusual, but it's important
to me that Capistrano works out of the box with Git over HTTP. So I'd throw in
$50, anybody willing to join, too. Or to do the patch?
-sven
From: Mike Hommey <hidden> Date: 2016-06-15 22:44:44
On Sat, Jun 14, 2008 at 05:19:00AM -0400, Jeff King wrote:
On Sat, Jun 14, 2008 at 11:02:44AM +0200, Mike Hommey wrote:
quoted
quoted
How likely is it that ls-remote HEAD is added for HTTP as well rather than
stripped for all protocols?
When someone sends a patch ;)
I'm not sure I can bring myself to wait for that. After all, it could
take nearly negative seven weeks:
$ git log -1 --pretty=tformat:'%s (%ar)' be885d96
Make ls-remote http://... list HEAD, like for git://... (7 weeks ago)
Erf, now I must blame myself to have taken a look at a very old
transport.c file ;)
Mike
From: Jeff King <hidden> Date: 2016-08-11 17:46:00
On Sat, Jun 14, 2008 at 09:24:57AM +0000, Sven wrote:
As I said, I'm lacking the skills. But I'd take part in sponsoring the
patch so it's not another 7 weeks wait :-) I know, it's kinda unusual,
but it's important to me that Capistrano works out of the box with Git
over HTTP. So I'd throw in $50, anybody willing to join, too. Or to do
the patch?
Maybe I wasn't clear in my other message. The wait is either "none,
upgrade to the current master", or "a week or so, wait for 1.5.6 to be
released."
But I'll take the $50. ;)