redrabbit / git.limo

A Git source code management tool powered by Elixir with easy installation & high extensibility.
https://git.limo
MIT License
497 stars 42 forks source link

Error when executing receive-pack without packfile. #12

Closed redrabbit closed 6 years ago

redrabbit commented 6 years ago

GitRekt.WireProtocol.ReceivePack does never reach :done when executed via HTTP and no packfile is provided by the client.

It happens quiet easily:

git reset --hard HEAD~
git push --force

Refactoring GitRekt.WireProtocol.ReceivePack in order to understand --stateless-rpc might be a possible fix...