mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-15 15:44:59 +00:00
13 lines
350 B
C#
13 lines
350 B
C#
namespace SourceGit.Commands
|
|
{
|
|
public class FormatPatch : Command
|
|
{
|
|
public FormatPatch(string repo, string commit, string saveTo)
|
|
{
|
|
WorkingDirectory = repo;
|
|
Context = repo;
|
|
Editor = EditorType.None;
|
|
Args = $"format-patch {commit} -1 --output=\"{saveTo}\"";
|
|
}
|
|
}
|
|
}
|