-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differences in protocol parsing between Git and Dulwich #442
Comments
Agreed that Dulwich should behave the same way as C git here. On 14 July 2016 11:55:51 GMT+02:00, Andrew Shadura notifications@github.com wrote:
|
Actually, is also says that in the docco:
:) |
Patches to do the comparison after stripping LF characters welcome. Alternatively, I'm traveling for a couple of weeks but can look into this when I come back. On 14 July 2016 11:55:51 GMT+02:00, Andrew Shadura notifications@github.com wrote:
|
This code in
dulwich/client.py
around line 1018 doesn't match the corresponding code in Git.The original implementation:
As you can see, Git doesn't strictly require EOL, which currently makes (hg-git fail with Kallithea)[https://bitbucket.org/conservancy/kallithea/issues/230/cannot-perform-push-with-hg-git-mercurial], as Kallithea doesn't sent it. Arguably, it's an incorrect implementation of the protocol on our side, but in any case I think it's better that both Git and Dulwich do the same thing.
The text was updated successfully, but these errors were encountered: