git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GSoC] Hello Git

From
ZheNing Hu <adlternative@gmail.com>
Date
May 20, 2021, 07:21 UTC
Message-ID
<CAOLTT8Qa7+8oA2C9HC-9a9i=xVD+4eL-RCEt7K9EG5Fv8OTFaw@mail.gmail.com>
In-Reply-To
<CANYiYbGV1LO33piD+oMxjF83K6Nt=19Lk_8oBgzNCVcB=AokfA@mail.gmail.com>
Jiang Xin <worldhello.net@gmail.com> 于2021年5月19日周三 下午3:19写道:
Show 12 quoted lines
>
> > 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!
Show 12 quoted lines
> > 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.

Show 25 quoted lines
> > ### 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

Previous: Jiang Xin
Message 8 of 8 in “[GSoC] Hello Git”
  1. ZheNing HuMay 18, 2021
  2. Christian CouderMay 18, 2021
  3. ZheNing HuMay 20, 2021
  4. Christian CouderMay 20, 2021
  5. ZheNing HuMay 20, 2021
  6. Christian CouderMay 20, 2021
  7. Jiang XinMay 19, 2021
  8. ZheNing HuMay 20, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.