支持文件和变更区域的根目录快捷操作

This commit is contained in:
xintaofei
2026-03-13 21:50:15 +08:00
parent bf14a99168
commit 3376974d0f
4 changed files with 252 additions and 59 deletions

View File

@@ -1120,7 +1120,7 @@ export function FileWorkspacePanel() {
path: diffListContext.path,
branch: diffListContext.branch,
})
: diffListContext.path
: (activeFileTab.description ?? diffListContext.path)
const handleOpenDiff = async (path: string) => {
if (diffListContext.kind === "commit") {