fix(vcs): complete File History revision actions (#3775)

File History offered the repository-wide Git Log actions only. Its commit menu now has Show File at Revision (the file as it was in that commit, following renames through historyPath), and Compare with Local / Compare Versions diff just that file instead of the whole tree. ⌘/Ctrl+D in the File History list diffs the selected revision of the file against its parent, or the two selected revisions, without changing Show Diff elsewhere.

Co-authored-by:  <{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest",
  "status": "404"
}[email protected]>
Цей коміт міститься в:
Gregor Zeitlinger authored and GitHub committed 2026-11-17 00:03:26 +08:00
1 джерело 711ef3ec96
коміт 026b493e93
16 files changed
+788 -45

No files matched your search

+2
Переглянути файл
@@ -316,8 +316,10 @@
"Cannot show current revision": "Cannot show current revision",
"Compare": "Compare",
"Compare with Revision…": "Compare with Revision…",
"Revision changes are still loading": "Revision changes are still loading",
"Swap Sides": "Swap Sides",
"Show Current Revision": "Show Current Revision",
"Show File at Revision": "Show File at Revision",
"Search file revisions": "Search file revisions",
"File revisions": "File revisions",
"The current line has no committed revision": "The current line has no committed revision",
+2
Переглянути файл
@@ -295,6 +295,7 @@
"Cannot show current revision": "无法显示当前修订版",
"Compare with Revision…": "与修订版比较…",
"Show Current Revision": "显示当前修订版",
"Show File at Revision": "显示此修订版中的文件",
"Search file revisions": "搜索文件修订版",
"File revisions": "文件修订版",
"The current line has no committed revision": "当前行没有已提交的修订版",
@@ -2615,6 +2616,7 @@
"Select Standard Library Sources": "选择标准库源代码",
"Select TypeScript lib Directory": "选择 TypeScript lib 目录",
"Select a changed file to show its diff": "选择一个已更改的文件以显示其差异",
"Revision changes are still loading": "修订的更改仍在加载",
"Select a column": "选择一列",
"Select a commit in the Git log": "在 Git 日志中选择一个提交",
"Select a commit to view changes": "选择一个提交以查看更改",