fix: support revert merge commit

This commit is contained in:
Gadfly 2024-08-01 10:02:09 +08:00
parent 425b713d1e
commit 2a09ae64a4
No known key found for this signature in database

View file

@ -6,9 +6,9 @@
{ {
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";
} }
} }
} }