Skip to content

Enable creation of "thick" bundles

From https://lore.kernel.org/git/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.