Skip to content

Commit 04b530d

Browse files
committed
Reduce git bundle size
1 parent 0714bb0 commit 04b530d

File tree

151 files changed

+125
-5111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+125
-5111
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ Embedded git bundle
9999
- `GitEnvironment` will prefer the embedded instance when `Style.embed` is selected or when `Style.auto` finds it.
100100
- Agents and tests should not modify files under the bundle. Use `GitEnvironment.Style.custom(URL)` to point to an alternate git distribution.
101101
- To generate an updated bundle, run `tools/update-git-bundle.sh`. It writes to `tools/git-bundle/git-instance.bundle` by default.
102+
- If the bundle looks unusually large, run `tools/fix-git-bundle-links.sh` to relink duplicate `git-*` binaries and shrink the footprint.
102103
- Review the generated bundle and replace `Sources/SwiftGit/Resource/git-instance.bundle` if needed.
103104

104105
Tests and integration tests

0 commit comments

Comments
 (0)