* git-archive fails against smart-http repos
@ 2013-01-09 18:52 Bruce Lysik
2013-01-11 20:58 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Lysik @ 2013-01-09 18:52 UTC (permalink / raw
To: git
Hi,
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-archive fails against smart-http repos
2013-01-09 18:52 git-archive fails against smart-http repos Bruce Lysik
@ 2013-01-11 20:58 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2013-01-11 20:58 UTC (permalink / raw
To: Bruce Lysik; +Cc: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-11 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 18:52 git-archive fails against smart-http repos Bruce Lysik
2013-01-11 20:58 ` Jeff King
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).