Files
zed/crates/git
dino 2bd66b71e0 feat(git): introduce add_safe_directory implementation
Introduce `AddSafeDirectory` action which, when dispatched, will call
the `GitPanel.add_safe_directory` method. This method will take the
absolute path of the current worktree, as it currently is not written to
support multiple, or none, worktreess, and will call `git config
--global --add safe.directory [DIRECTORY]` with that path, to ensure
that, even if the user does not own the repository's `.git/` folder,
they'll still be able to read its contents.
2025-12-12 15:56:59 +00:00
..
2025-10-17 18:58:14 +00:00