From: Jeff King <peff@peff.net>
To: Bruce Lysik <blysik@apple.com>
Cc: git@vger.kernel.org
Subject: Re: git-archive fails against smart-http repos
Date: Fri, 11 Jan 2013 15:58:49 -0500 [thread overview]
Message-ID: <20130111205849.GA17810@sigill.intra.peff.net> (raw)
In-Reply-To: <6014ED12-17F9-4D57-927F-6AFCD8A51C9D@apple.com>
On Wed, Jan 09, 2013 at 10:52:48AM -0800, Bruce Lysik wrote:
> Trying to run git-archive fails against smart-http based repos. Example:
>
> $ git archive --verbose --format=zip --remote=http://code.toofishes.net/git/dan/initscripts.git
> fatal: Operation not supported by protocol.
> Unexpected end of command stream
>
> This problem was brought up against my internal repos as well.
Right. Neither the client nor server for the http transport knows how to
handle the "git-upload-archive" service (as opposed to the regular
"git-upload-pack" or "git-receive-pack" services). I don't think there's
anything technical standing in the way; it is has simply never been
implemented.
Currently, you can do remote git-archive only locally, via ssh, or over
git:// (but then only if the server side has explicitly enabled it).
Patches welcome.
-Peff
prev parent reply other threads:[~2013-01-11 20:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 18:52 git-archive fails against smart-http repos Bruce Lysik
2013-01-11 20:58 ` Jeff King [this message]
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=20130111205849.GA17810@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=blysik@apple.com \
--cc=git@vger.kernel.org \
/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).