Files
jj-vcs-jj/cli/tests/test_split_command.rs
Martin von Zweigbergk 6ef9b28556 op_store: record workspace where operation was run
There are two reasons for this:

 * It helps understanding why divergence happened to see which
   workspace an operation was run from. For example, perhaps an agent
   is running in another workspace and it's not obvious from the
   operation log which commands it ran without seeing the workspace
   name.

 * We may want to check that e.g. `jj undo` is run from the same
   workspace as the operation it's undoing. We may want to print a
   warning otherwise, or maybe we want to skip over operations create
   from other workspaces. I'm not sure what's best but having the
   workspace recorded at least enables such features.
2026-03-24 05:27:00 +00:00

62 KiB