mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix: support revert merge commit
This commit is contained in:
parent
425b713d1e
commit
2a09ae64a4
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