jj/cli
Yuya Nishihara 9ca6c99508 cli: extract WorkspaceCommandEnvironment that doesn't depend on a repo
Some "operation" commands need a workspace, plus multiple repo views. We
currently load WorkspaceCommandHelper twice for that reason. It works, but
would be messy if "op log" loaded WorkspaceCommandHelper for each log entry.

This patch starts splitting non-repo data from WorkspaceCommandHelper. The
workspace object isn't owned by the environment object so the object can be
freely discarded.
2024-09-10 07:06:43 +09:00
..
examples working_copy: pass SnapshotOptions by reference 2024-09-08 04:51:21 +09:00
src cli: extract WorkspaceCommandEnvironment that doesn't depend on a repo 2024-09-10 07:06:43 +09:00
testing formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
tests cli: make paths to auto-track configurable, add jj track 2024-09-09 07:49:55 -07:00
build.rs cli/build-rs: remove metadata command dependency in favor of env vars 2024-09-03 22:31:17 -07:00
Cargo.toml cli/build-rs: remove metadata command dependency in favor of env vars 2024-09-03 22:31:17 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00