Skip to content

Conversation

@Brett-Best
Copy link
Contributor

@Brett-Best Brett-Best commented Nov 12, 2025

Adds git submodule support, this allows Mint to install https://github.com/apple/swift-protobuf.

I considered adding this to the tests but it would increase how long they take to run substantially.

I've left Allow edits by maintainers on so you can tweak this if needed @yonaskolb 😄

@aduuub
Copy link

aduuub commented Nov 20, 2025

This would be great for our use case too!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds git submodule support to Mint, enabling the installation of packages that depend on submodules, such as apple/swift-protobuf. The change adds the --recurse-submodules flag to git clone and checkout operations to ensure submodules are properly initialized during package installation.

  • Adds --recurse-submodules flag to git clone and checkout commands
  • Supports both SHA-based and shallow clone scenarios

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yonaskolb
Copy link
Owner

Thanks @Brett-Best!

@yonaskolb yonaskolb merged commit 2d61c48 into yonaskolb:master Dec 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants