Skip to main content

enable_worktree_config

Function enable_worktree_config 

Source
pub async fn enable_worktree_config(repo: &Path) -> Result<bool>
Expand description

Enable extensions.worktreeConfig if it is not already on.

Returns true when magi turned it on, so the caller can turn it back off during cleanup and leave the repo exactly as it found it.