mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
12 lines
No EOL
305 B
C#
12 lines
No EOL
305 B
C#
namespace SourceGit.Commands
|
|
{
|
|
public class FormatPatch : Command
|
|
{
|
|
public FormatPatch(string repo, string commit, string saveTo)
|
|
{
|
|
WorkingDirectory = repo;
|
|
Context = repo;
|
|
Args = $"format-patch {commit} -1 -o \"{saveTo}\"";
|
|
}
|
|
}
|
|
} |