How to Write a New Git Protocol
Thanks for sharing this. It's a good walkthrough and potentially quite useful for anyone wanting to implement a new protocol. It seems like the wrong tool for the job to me however.<p>This seems like it would be more easily implemented with smudge/clean filters[0]. In fact, this is exactly what git-crypt[1] does. The idea is that you run a filter on every file as it's checked out to do the decryption and every time a file is staged to do encryption. This requires nothing extra on the remote repository and you can you git commands as normal.<p>[0] <a href="http://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes" rel="nofollow">http://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes</a>
[1] <a href="https://github.com/AGWA/git-crypt" rel="nofollow">https://github.com/AGWA/git-crypt</a>