mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
Project Location
This commit is contained in:
parent
014e37e505
commit
a1a14f8858
305 changed files with 9783 additions and 9783 deletions
12
src/SourceGit/Commands/FormatPatch.cs
Normal file
12
src/SourceGit/Commands/FormatPatch.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
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}\"";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue