Jiang Xin <worldhello.net@xxxxxxxxx> 于2021年5月19日周三 下午3:19写道: > > > I'm ZheNing Hu, I am very lucky to participate in the GSoC > > git project this year. Many people in the git community already > > have given me a lot of help in the past few months. > > Junio, Christian, Peff, Eric, Denton..., it's great to get along with > > you guys! Your review and guidance have greatly benefited > > my growth. > > I admire you so much that you can join the open source community at a > very young age. I will continue to offer my help both online and > offline, in your favorite language (Chinese of course). > Participating in open source is a very fun thing! Thanks for your help haha! > > In these days before GSoC, I learned some simple command > > implementation and data structures of git, learned strict coding > > standards and learned how to test, More importantly, I learned how > > to communicate with these kind-hearted reviewers. > > > > Of course, there are still many difficulties for me: > > * My poor English sometimes can’t express the meaning clearly. > > There are too many differences between English and Chinese, but don't > worry. Remember, practice is perfect. You can also practice your > English by reviewing Git l10n in Chinese, see: "po/README.md". > I have noticed that the language translation comparison table is in *.po, which really helps me a lot sometimes. > > ### The connection between Git and the file system > > > > I am currently studying operating system course, git as a > > file system on top of the file system. > > There are many differences and similarities with ordinary > > file systems. I am very curious about this knowledge, do > > not know if there are any relevant reading materials? > > Git objects are stored in ".git/objects" directory in two forms: loose > object and packfile. These two types of files are deflated in zlib > format. In order to increase the speed of traversing these objects in > this object store, many meta files are created. For example, index > files and reverse index files for packfiles, bitmap file, commit-graph > files, etc. > > Docs for these files: > > * Documentation/technical/pack-format.txt > * Documentation/technical/index-format.txt > * Documentation/technical/chunk-format.txt > * Documentation/technical/multi-pack-index.txt > * Documentation/technical/bitmap-format.txt > * Documentation/technical/commit-graph-format.txt > * Documentation/technical/commit-graph.txt > This is what I want to know: how git objects are stored! This can help me understand git itself at a deeper level. > -- > Jiang Xin Thanks! -- ZheNing Hu