Feature Request: Support git bundle create with thick packs to allow application to shallow clones
- From
- Henry 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