From 0947dc0db9a23a09b54c878eba2d04f0c3f23fc6 Mon Sep 17 00:00:00 2001 From: Sebastian Schneider Date: Fri, 13 Feb 2026 07:57:50 +0000 Subject: [PATCH] bugfix: ensure @ is shown even on repos without additional workspaces. self.workspace_copies() is empty on repos that don't have additional workspaces. this change in the logic accounts for such repos. --- src/graphWebview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphWebview.ts b/src/graphWebview.ts index d25f69d..6ede4ed 100644 --- a/src/graphWebview.ts +++ b/src/graphWebview.ts @@ -151,7 +151,7 @@ export class JJGraphWebview implements vscode.WebviewViewProvider { bookmarks.map(|b| b.name()).join(", "), "|", self.commit_id().short(), "|", self.commit_id().shortest(), "|", - if(self.working_copies(), "@", if(self.contained_in("visible_heads()"), "◆", "○")), "|", + if(current_working_copy, "@", if(self.working_copies(), "@", if(self.contained_in("visible_heads()"), "◆", "○"))), "|", if(self.empty(), "true", "false"), "|", if(self.immutable(), "true", "false"), "|", description.first_line(),