code_review: PR #120

* remove unnecessary code. The `SetProperty` function takes care of set same property in a loop
This commit is contained in:
leo 2024-05-10 16:30:34 +08:00
parent efd8e72c4e
commit 764cf24284
3 changed files with 6 additions and 21 deletions

View file

@ -1354,14 +1354,6 @@ namespace SourceGit.ViewModels
return menu;
}
public void HandleSelectedCommitChanged(Models.Commit commit)
{
if (SearchedCommits.Count > 0)
{
SearchResultSelectedCommit = commit;
}
}
private string _fullpath = string.Empty;
private string _gitDir = string.Empty;
private Models.GitFlow _gitflow = new Models.GitFlow();