3 ms·
I just used git-fsck, and my implemention is here (both read and write, hosted using git9 on 9front): http://shithub.us/ori/git9/724c516a6eda0063439457a6701ef0
by ori_b 6y ago
I 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.