refactor: pass Models.Commit instead of just sha of it

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-01 18:10:22 +08:00
parent ba3c72585d
commit 2f9e825b63
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -626,7 +626,7 @@ namespace SourceGit.ViewModels
item.Click += (_, e) =>
{
if (PopupHost.CanCreatePopup())
PopupHost.ShowAndStartPopup(new ExecuteCustomAction(_repo, action, commit.SHA));
PopupHost.ShowAndStartPopup(new ExecuteCustomAction(_repo, dup, commit));
e.Handled = true;
};