Uh oh!
There was an error while loading. Please reload this page.
feat: make Zed and Git submodules interoperable - #96
Merged
Conversation
ORESoftware
marked this pull request as ready for review
August 4, 2026 05:26
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 4, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zed install --git-submodules[=true|false]/ZED_PKG_GIT_SUBMODULESsupportzed overtake --git-submodulesto import.gitmodulespackages into root workspace/dependency intent.gitmodulesand gitlinks as a reversible Git transport while Zed owns graph and integrity authority[[git-submodule]]provenance to.zpkg.lockwithout changing the canonical lock schema.cli-flags.toml, shell completions, focused tests, and interoperability documentationTakeover contract
Each top-level submodule must contain a valid
.zpkg.toml. Takeover refuses dirty.gitmodules, unsafe paths, duplicate package identities, non-gitlink workspace paths, dirty or mismatched submodule checkouts, and nested submodule drift. Imported packages become exact workspace dependencies and are installed through the existing complete solver and transactional materializer.Verification
Local structural checks completed:
.cli-flags.tomlparses as TOMLZED_PKG_*declarations and.cli-flags.tomlenvironment keys match exactlyThe execution image does not contain a Rust toolchain, so the repository's full GitHub Actions matrix is the authoritative compile, rustfmt, Clippy, unit, integration, frozen-lock, Windows-locking, Nix, and hardening validation for this draft.