mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
Merge pull request #308 from gadfly3173/fix/revert-merge
fix: support revert merge commit
This commit is contained in:
commit
ba94f017cd
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
{
|
{
|
||||||
WorkingDirectory = repo;
|
WorkingDirectory = repo;
|
||||||
Context = repo;
|
Context = repo;
|
||||||
Args = $"revert {commit} --no-edit";
|
Args = $"revert -m 1 {commit} --no-edit";
|
||||||
if (!autoCommit)
|
if (!autoCommit)
|
||||||
Args += " --no-commit";
|
Args += " --no-commit";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue