fix(vcs): show branch actions in the Git Log commit menu (#1852)

Right-clicking a commit with branch labels offered commit actions only. The menu now has a Branch 'name' submenu with the existing branch actions for each branch at that commit other than the current one, grouped under Branches when there are more than two, and keeps Rebase onto Selected Commit for commits without branches. The actions run against the commit's repository in a multi-repository project.

Co-authored-by: shohruh-genius <[email protected]>
Цей коміт міститься в:
Shohruh Ismoilovтаshohruh-genius authored and GitHub committed 2026-11-07 10:37:24 +08:00
1 джерело 9298be8798
коміт 7e7da950fc
7 files changed
+132 -13

No files matched your search

+2 -1
Переглянути файл
@@ -57,5 +57,6 @@
"Recommended": "Recommended",
"No preview": "No preview",
"Running in the background": "Running in the background",
"Couldn't stop the background task": "Couldn't stop the background task"
"Couldn't stop the background task": "Couldn't stop the background task",
"Branch '{name}'": "Branch '{name}'"
}
+1
Переглянути файл
@@ -4269,6 +4269,7 @@
"Branch {name}": "分支 {name}",
"Tag {name}": "标签 {name}",
"Branch {branch} of {repository}": "{repository} 的分支 {branch}",
"Branch '{name}'": "分支 '{name}'",
"Branches of {root}": "{root} 的分支",
"Include {name} in commit": "在提交中包含 {name}",
"Compare {current} with {branch}": "比较 {current} 与 {branch}",