2 ms·
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
by fiddlerwoaroof 6y ago
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 https://github.com/fiddlerwoaroof/cl-git
- ori_b 6y agoI just used git-fsck, and my implemention is here (both read and write, hosted using git9 on 9front): http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0d7ef37eb93/pack.c/f.html http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0d7e... http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0d7ef37eb93/delta.c/f.html 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.
- fiddlerwoaroof 6y agoThanks, delta encoding stumped me a bit because the relevant git documentation was a bit ambiguous. Maybe I’ll implement this tonight.