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

Re: [GSoC] Hello Git

From
Jiang Xin <worldhello.net@gmail.com>
Date
May 19, 2021, 07:19 UTC
Message-ID
<CANYiYbGV1LO33piD+oMxjF83K6Nt=19Lk_8oBgzNCVcB=AokfA@mail.gmail.com>
In-Reply-To
<CAOLTT8SHE-ok3D+oLNSWFi7KPU==VQnTMDmC4YxUyNBJKmBD8A@mail.gmail.com>
ZheNing Hu <adlternative@gmail.com> 于2021年5月18日周二 下午2:40写道:
Show 11 quoted lines
>
> Hello,Git!
>
> ### Self introduction
>
> 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).

Show 7 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".

Show 7 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

-- Jiang Xin

Previous: Christian CouderNext: ZheNing Hu
Message 7 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.