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

Feature Request: Support git bundle create with thick packs to allow application to shallow clones

From
HQHenry Qin <root@hq6.me>
Date
Dec 6, 2024, 05:21 UTC
Message-ID
<CAO8bsPB8JDzKp3xRVd5sAyUSzDrbrGGU5b4o1igkDZ+pDUO_YQ@mail.gmail.com>
Hi folks,

The current git bundle create command hardcodes passing --thin to git-pack-objects, which can result in bundle files that cannot be applied to shallow clones.

I've detailed a possible workaround for creating thick packs in my Stackoverflow post.

https://stackoverflow.com/questions/79256488/is-it-possible-to-create-a-git-bundle-of-a-revision-range-with-minimal-prerequis

Is there appetite from the maintainers for natively supporting the ability to create bundles whose only prerequisites are the excluded commits in each revision range?

I think such bundles are useful for applying to shallow clones, which are commonly used with large monorepos.

Thanks, ~Henry

Message 1 of 1 in “Feature Request: Support git bundle create with thick packs to allow application to shallow clones”
  1. Henry QinDec 6, 2024

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.