threads / discuss / 62606

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

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

## tl;dr

One message between Dec 6, 2024 and Dec 6, 2024.

replies: 0people: 1as markdown or json

Henry Qin· Dec 6, 2024, 05:21 UTC · lore
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

← back to recent threads