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

Yes. The wire format docs, especially for HTTP, are atrocious. The pack format is well documented enough. (https://github.com/git/git/tree/maint/Documentation/technica...)

I wrote the 9front implementation (https://git.9front.org/plan9front/plan9front/HEAD/sys/src/cm...) more or less entirely from the official documentation in the git repo. For debugging, GIT_TRACE_PACKET=1 is very useful for getting valid packet traces.

Repacking efficiently for serving is the most annoying part, and I still haven't implemented delta reuse.



FWIW git has recently reorganised their docs a lot, and moved some things to man pages.

The pack format docs were one of the documents affected, it now lives at https://github.com/git/git/blob/master/Documentation/gitform....


Yes i saw this just yesterday seems like a great resource! I don't think this was available some years ago (at least i wasn't able to find it)...


The first commit containing the packfile docs is from 2006.




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

Search: