Looks neat! This reminds me heavily of the excellent Building Git by James Coglan[1]. From a cursory glance though, it doesn't seem to support reading packfiles. This was the big thing that prevented me from using a fully custom Git implementation when I wrote my git churn calculator[2]. For larger repositories, it seems that almost all files are stored in packfiles, rather than the conceptually simpler "loose" forma…
Show HN: ugit – Learn Git Internals by Building Git in Python
11–20 of 31 posts
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#12Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#13Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#14Is this tutorial interface (navigation, diffs, files/downloads at each step) custom made? It's pretty nice for this kind of format.
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#15This strikes me as a cool and polished version of shit, the Git implementation Drew DeVault did in pure POSIX shell. https://git.sr.ht/~sircmpwn/shit
“How to Use: 1. Don’t”
LOL. Thanks! Both interesting!
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#16I have used git now for about 10 years, always via cli so I am pretty fluent with it and understand intuitively what is going on behind the scenes, but have only rarely needed to venture into the .git folders.
Working through the steps in this tutorial is helping to give a foundation to that intuition. I love the presentation format and would like to see more like this, and in other languages.
Is the tutorial itself available on github or elsewhere?
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#17Good choice, well explained. More than a toy problem space but stripped of factors that obscure the lesson. The author knows what they are doing.
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#18This is great, I appreciate the effort that has gone into it. I have used git now for about 10 years, always via cli so I am pretty fluent with it and understand intuitively what is going on behind the scenes, but have only rarely needed to venture into the .git folders. Working through the steps in this tutorial is helping to give a foundation to that intuition. I love the presentation format and would like to see m…
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#19Is this tutorial interface (navigation, diffs, files/downloads at each step) custom made? It's pretty nice for this kind of format.