mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
code_style: run dotnet format
This commit is contained in:
parent
7fe1df20cc
commit
84b8735d6c
11 changed files with 23 additions and 26 deletions
|
@ -320,7 +320,7 @@ namespace SourceGit.ViewModels
|
|||
var window = new Views.Blame() { DataContext = new Blame(_repo.FullPath, change.Path, _commit.SHA) };
|
||||
window.Show();
|
||||
ev.Handled = true;
|
||||
};
|
||||
};
|
||||
|
||||
menu.Items.Add(history);
|
||||
menu.Items.Add(blame);
|
||||
|
@ -415,7 +415,7 @@ namespace SourceGit.ViewModels
|
|||
window.Show();
|
||||
ev.Handled = true;
|
||||
};
|
||||
|
||||
|
||||
var copyPath = new MenuItem();
|
||||
copyPath.Header = App.Text("CopyPath");
|
||||
copyPath.Icon = App.CreateMenuIcon("Icons.Copy");
|
||||
|
|
|
@ -279,7 +279,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
if (value is null || value < 1)
|
||||
return;
|
||||
|
||||
|
||||
if (Models.AutoFetchManager.Instance.Interval != value)
|
||||
{
|
||||
Models.AutoFetchManager.Instance.Interval = (int)value;
|
||||
|
|
|
@ -1312,7 +1312,7 @@ namespace SourceGit.ViewModels
|
|||
var succ = true;
|
||||
if (autoStage && _unstaged.Count > 0)
|
||||
succ = new Commands.Add(_repo.FullPath).Exec();
|
||||
|
||||
|
||||
if (succ)
|
||||
succ = new Commands.Commit(_repo.FullPath, _commitMessage, _useAmend).Exec();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue