mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 10:25:00 +00:00
parent
0ea4021a64
commit
ee4d8a6a0e
4 changed files with 182 additions and 130 deletions
|
@ -313,7 +313,7 @@ namespace SourceGit.ViewModels
|
|||
blame.IsEnabled = change.Index != Models.ChangeState.Deleted;
|
||||
blame.Click += (_, ev) =>
|
||||
{
|
||||
App.ShowWindow(new Blame(_repo.FullPath, change.Path, _commit.SHA), false);
|
||||
App.ShowWindow(new Blame(_repo.FullPath, change.Path, _commit), false);
|
||||
ev.Handled = true;
|
||||
};
|
||||
|
||||
|
@ -481,7 +481,7 @@ namespace SourceGit.ViewModels
|
|||
blame.IsEnabled = file.Type == Models.ObjectType.Blob;
|
||||
blame.Click += (_, ev) =>
|
||||
{
|
||||
App.ShowWindow(new Blame(_repo.FullPath, file.Path, _commit.SHA), false);
|
||||
App.ShowWindow(new Blame(_repo.FullPath, file.Path, _commit), false);
|
||||
ev.Handled = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue