Skip to content

Commit 6adabda

Browse files
committed
Make embedded git single-arch
1 parent 7c318e8 commit 6adabda

File tree

19 files changed

+54
-2
lines changed

19 files changed

+54
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Embedded git bundle
102102
- If the bundle looks unusually large, run `tools/fix-git-bundle-links.sh` to relink duplicate `git-*` binaries and shrink the footprint.
103103
- Review the generated bundle and replace `Sources/SwiftGit/Resource/git-instance.bundle` if needed.
104104
- The default bundle is trimmed for size and omits GUI/web/perl tooling and shell completions. Use `--include-extras` to keep them.
105+
- The update script defaults to the host arch (`uname -m`). Use `--archs arm64,x86_64` for a universal bundle, or `tools/thin-git-bundle.sh` to slim an existing one.
105106

106107
Tests and integration tests
107108
- Tests live under `Tests/SwiftGitTests/`.

0 commit comments

Comments
 (0)