style: add .editorconfig for code formatting. see issu #25

This commit is contained in:
leo 2024-03-18 09:37:06 +08:00
parent a8eeea4f78
commit 18aaa0a143
225 changed files with 7781 additions and 3911 deletions

View file

@ -1,9 +1,12 @@
using System.Collections.Generic;
using System.Text;
namespace SourceGit.Commands {
public class Restore : Command {
public Restore(string repo, List<string> files, string extra) {
namespace SourceGit.Commands
{
public class Restore : Command
{
public Restore(string repo, List<string> files, string extra)
{
WorkingDirectory = repo;
Context = repo;
@ -13,6 +16,6 @@ namespace SourceGit.Commands {
builder.Append("--");
foreach (var f in files) builder.Append(' ').Append('"').Append(f).Append('"');
Args = builder.ToString();
}
}
}
}
}