jj WorkspaceRef templates identify the current workspace
Introduced 2026-11-04 · score 0.96
HOW TO USE IT
When several workspaces can point to the same commit, use `WorkspaceRef.current_workspace()` to identify the current workspace.
WHY THIS HELPS
Write a template that identifies the current workspace when several workspaces point to the same commit.
REQUIREMENTS AND LIMITATIONS
- Version: v0.47.0
- Multiple workspaces can point to the same commit.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON