Quoth tlaro...@kergis.com:
> I'm perhaps doing something incorrect.
> 
> git(1) is available on 9legacy too.
> 
> But, after launching webcookies and then webfs, when trying to clone a
> git repository, I have an error.
> 
> With debugging on, say:
> 
> term% git/clone -d https://github.com/tlaronde/nix
> 
> I see that the initial connection is done, and that it is then
> transformed in:
> 
> open https://github.com:443/tlaronde/nix/git-upload-pack
> 
> and then:
> 
> git/get: write: unknown control command
> 
> Am I missing a supplementary service that should be run?
> 
> TIA,

The control command that I can imagine we'd be erroring
on is the 'headers' command; from a quick skim, setting
headers is not supported in 9legacy's httpfs.

Unfortunately, this is needed for cloning with https
on github; it will serve html instead of the git protocol
if the content-type header is not set.

It also needs the user-agent set, but 9legacy's httpfs
seems to support that.

I'd recommend cloning over ssh; it also seems to be more
reliabile than https (even when using the torvalds git
client)


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T5a5049ffd91f4027-Mf7baa48b912843d0234c3865
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to