git: Fix git modal and panel amend tooltip (#39008)

Closes #38783

Release Notes:

- Fixed the amend button tooltip shortcut in Git panel and modal.
This commit is contained in:
Miao
2025-09-29 19:58:14 +05:30
committed by GitHub
parent 9aa5817b85
commit f96fd928d7
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -3458,7 +3458,7 @@ impl GitPanel {
if can_commit {
Tooltip::with_meta_in(
tooltip,
Some(&git::Commit),
Some(if amend { &git::Amend } else { &git::Commit }),
format!(
"git commit{}{}",
if amend { " --amend" } else { "" },