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

Re: Some problems for git beginners

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Oct 9, 2021, 09:12 UTC
Message-ID
<ffe633c5-151a-8646-20ef-be4f50c5f59e@gmail.com>
In-Reply-To
<2EC9E24E-A8FD-4851-9F6A-F3D104465A23@icloud.com>
On 09/10/21 14.43, ZhangJinbao wrote:
> Third, when a commit event occurs, the current blob file stores the full amount of data, while the previous version stores the incremental data
> 

When you `git commit`, Git will initially write objects related to the commit (blob, tree, and commit) as loose objects. Some point on the time, Git will repack many loose objects into one big packfile and write the corresponding pack index. Delta compression is applied when writing the packfile.

-- 
An old man doll... just what I always wanted! - Clara
Previous: ZhangJinbaoNext: Philip Oakley
Message 2 of 4 in “Some problems for git beginners”
  1. ZhangJinbaoOct 9, 2021
  2. Bagas SanjayaOct 9, 2021
  3. Philip OakleyOct 9, 2021
  4. Philip OakleyOct 11, 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.