mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-20 06:33:14 +00:00
This ensures that WorkspaceCommandHelper created for initialized/cloned repo refers to the settings object for that repo, not the settings loaded for the cwd repo. I also removed WorkspaceCommandEnvironment::settings() because it doesn't own a workspace object. It's implementation detail that the env object holds a copy of workspace.settings(), and the caller should be accessible to the workspace object.