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

I knew .git can be a normal file because of worktrees. But most of the weird states have to do with the working tree not the repository. Even rebasing isn’t weird as far as the file formats go: it just is replaying commits on top of a new base commit. Since my goal was basically to implement enough of git to serve files from a git repository as a website, the actual task was fairly small.


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

Search: