mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 02:12:25 +08:00
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user