mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 05:35:00 +00:00
code_style: remove unused namespace using and run dotnet format
This commit is contained in:
parent
4bcdd0ade4
commit
3ea80d99f1
9 changed files with 10 additions and 11 deletions
|
@ -302,7 +302,7 @@ namespace SourceGit.ViewModels
|
|||
e.Handled = true;
|
||||
};
|
||||
menu.Items.Add(reset);
|
||||
|
||||
|
||||
var squash = new MenuItem();
|
||||
squash.Header = App.Text("CommitCM.SquashCommitsSinceThis");
|
||||
squash.Icon = App.CreateMenuIcon("Icons.SquashIntoParent");
|
||||
|
@ -314,7 +314,7 @@ namespace SourceGit.ViewModels
|
|||
App.RaiseException(_repo.FullPath, "You have local changes. Please run stash or discard first.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (PopupHost.CanCreatePopup())
|
||||
PopupHost.ShowPopup(new Squash(_repo, commit, commit.SHA));
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
_node = new RepositoryNode() { Id = Guid.NewGuid().ToString() };
|
||||
_data = Welcome.Instance;
|
||||
|
||||
|
||||
// New welcome page will clear the search filter before.
|
||||
Welcome.Instance.ClearSearchFilter();
|
||||
}
|
||||
|
|
|
@ -614,7 +614,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
Task.Run(RefreshWorkingCopyChanges);
|
||||
Task.Run(RefreshWorktrees);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_watcher.MarkBranchDirtyManually();
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace SourceGit.ViewModels
|
|||
_repo = repo;
|
||||
_target = target;
|
||||
_message = new Commands.QueryCommitFullMessage(_repo.FullPath, shaToGetPreferMessage).Result();
|
||||
|
||||
|
||||
View = new Views.Squash() { DataContext = this };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue