diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index 2701a4fb..bd6d2c08 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -677,7 +677,7 @@ namespace SourceGit.ViewModels return content.Contains("git lfs pre-push"); } - public async Task InstallLFS() + public async Task InstallLFSAsync() { var log = CreateLog("Install LFS"); var succ = await new Commands.LFS(_fullpath).Use(log).InstallAsync(); @@ -1498,7 +1498,7 @@ namespace SourceGit.ViewModels await _histories?.CheckoutBranchByCommitAsync(c); } - public async Task CompareBranchWithWorktree(Models.Branch branch) + public async Task CompareBranchWithWorktreeAsync(Models.Branch branch) { if (_histories != null) { diff --git a/src/Views/BranchTree.axaml.cs b/src/Views/BranchTree.axaml.cs index aca4212c..8c0b6310 100644 --- a/src/Views/BranchTree.axaml.cs +++ b/src/Views/BranchTree.axaml.cs @@ -741,7 +741,7 @@ namespace SourceGit.Views compareWithWorktree.Icon = App.CreateMenuIcon("Icons.Compare"); compareWithWorktree.Click += async (_, e) => { - await repo.CompareBranchWithWorktree(branch); + await repo.CompareBranchWithWorktreeAsync(branch); e.Handled = true; }; menu.Items.Add(compareWithWorktree); @@ -1014,7 +1014,7 @@ namespace SourceGit.Views compareWithWorktree.Icon = App.CreateMenuIcon("Icons.Compare"); compareWithWorktree.Click += async (_, e) => { - await repo.CompareBranchWithWorktree(branch); + await repo.CompareBranchWithWorktreeAsync(branch); e.Handled = true; }; menu.Items.Add(compareWithWorktree); diff --git a/src/Views/RepositoryToolbar.axaml.cs b/src/Views/RepositoryToolbar.axaml.cs index d2578006..b8944ace 100644 --- a/src/Views/RepositoryToolbar.axaml.cs +++ b/src/Views/RepositoryToolbar.axaml.cs @@ -378,7 +378,7 @@ namespace SourceGit.Views install.Icon = App.CreateMenuIcon("Icons.Init"); install.Click += async (_, e) => { - await repo.InstallLFS(); + await repo.InstallLFSAsync(); e.Handled = true; }; menu.Items.Add(install);