mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-23 09:01:16 +01:00
5d06fffd98
Agent terminal commands that request Git metadata access now verify linked-worktree and submodule metadata before moving Git paths from protected to writable sandbox paths. This prevents a mutated `.git` gitfile from redirecting a grant to unrelated repository metadata while preserving standard submodule layouts. Release Notes: - Improved agent terminal sandboxing for Git metadata access. --------- Co-authored-by: Martin Ye <martin@zed.dev>