Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tangentially I started a re-implementation of git in Common Lisp[1], and have completed parsers for most of the file formats except delta encoded objects.

Does anyone happen to know of an implementation or tests for delta encoding I could consult that is available under an MIT-like license? (BSD, Apache v2, etc.)

[1]: https://github.com/fiddlerwoaroof/cl-git



I just used git-fsck, and my implemention is here (both read and write, hosted using git9 on 9front):

http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0d7e...

http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0d7e...

as far as I'm aware, the OpenBSD implemention of git, Game of trees, is adapting this code too.


Thanks, delta encoding stumped me a bit because the relevant git documentation was a bit ambiguous.

Maybe I’ll implement this tonight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: