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

"Unpacking objects" question

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
May 2, 2021, 11:06 UTC
Message-ID
<bdd50fcc-02c3-dc24-9d49-773db881b65d@gmail.com>
Hi,
Recently I stumbled upon git unpack-objects documentation, which says:
> Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format.
However, I have some questions:
1. When I do git fetch, what is the threshold/limit for "Unpacking objects",
    in other words what is the minimum number of objects for invoking
    "Resolving deltas" instead of "Unpacking objects"?
2. Can the threshold between unpacking objects and resolving deltas be
    configurable?
3. Why in some cases Git do unpacking objects where resolving deltas
    can be done?
Thanks.
-- 
An old man doll... just what I always wanted! - Clara
Next: Jeff King
Message 1 of 3 in “"Unpacking objects" question”
  1. Bagas SanjayaMay 2, 2021
  2. Jeff KingMay 2, 2021
  3. Junio C HamanoMay 3, 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.