-
Notifications
You must be signed in to change notification settings - Fork 534
capabilities parsing fails when non-standard capability is found (was: Cloning from github broken?) #450
Comments
@chrisdostert Yes, I've just spotted it too. They deployed a new custom version of the server advertising a non-standard capability. I'm currently working on a fix, I hope I can push it ASAP. |
I created a PR with a fix #451 Anyway, it seems they have updated their server again (to version |
@smola that's great to hear; confirmed it's working again w/out code changes. Now that it's not urgent, do you still recommend pulling in the updated behavior? I'm concerned they may again introduce the breaking behavior at some point. |
@chrisdostert Yes. I think we should be prepared for anyone using non-standard capabilities, or even new standard capabilities that are not supported by go-git yet. So we'll fix this. However, since it's currently working with GitHub, I will not rush this and follow the usual code review cycle on the PR. If you're worried about them introducing it again, feel free to cherry-pick the PR, it seems to work correctly so far. |
capability: accept unknown capabilities, fixes #450
cloning any github repo just started erroring out with the following message:
pkt-line 3: invalid capabilities: unknown capability (multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed early-capabilities no-done symref=HEAD:refs/heads/master agent=git/github-g3daa19f21)
The text was updated successfully, but these errors were encountered: