{"thread":{"id":"32578","subject":"git-archive fails against smart-http repos","startedAt":"2013-01-09T18:52:48Z","lastAt":"2013-01-11T20:58:49Z","messageCount":2,"participants":["Bruce Lysik","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"206413","messageId":"6014ED12-17F9-4D57-927F-6AFCD8A51C9D@apple.com","threadId":"32578","inReplyTo":null,"subject":"git-archive fails against smart-http repos","fromName":"Bruce Lysik","fromEmail":"blysik@apple.com","sentAt":"2013-01-09T18:52:48Z","receivedAt":"2013-01-09T18:52:48Z","isPatch":false,"sender":{"key":"blysik@apple.com","avatar":null},"body":"Hi,\n\nTrying to run git-archive fails against smart-http based repos.  Example:\n\n$ git archive --verbose --format=zip --remote=http://code.toofishes.net/git/dan/initscripts.git\nfatal: Operation not supported by protocol.\nUnexpected end of command stream\n\nThis problem was brought up against my internal repos as well.\n"},{"id":"206558","messageId":"20130111205849.GA17810@sigill.intra.peff.net","threadId":"32578","inReplyTo":"6014ED12-17F9-4D57-927F-6AFCD8A51C9D@apple.com","subject":"Re: git-archive fails against smart-http repos","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2013-01-11T20:58:49Z","receivedAt":"2013-01-11T20:58:49Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Jan 09, 2013 at 10:52:48AM -0800, Bruce Lysik wrote:\n\n> Trying to run git-archive fails against smart-http based repos.  Example:\n> \n> $ git archive --verbose --format=zip --remote=http://code.toofishes.net/git/dan/initscripts.git\n> fatal: Operation not supported by protocol.\n> Unexpected end of command stream\n> \n> This problem was brought up against my internal repos as well.\n\nRight. Neither the client nor server for the http transport knows how to\nhandle the \"git-upload-archive\" service (as opposed to the regular\n\"git-upload-pack\" or \"git-receive-pack\" services). I don't think there's\nanything technical standing in the way; it is has simply never been\nimplemented.\n\nCurrently, you can do remote git-archive only locally, via ssh, or over\ngit:// (but then only if the server side has explicitly enabled it).\n\nPatches welcome.\n\n-Peff\n"}]}