mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-01 17:24:59 +00:00
fix: squash
should not change the original author
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
9affca1fb2
commit
2aac6779a5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
succ = new Commands.Reset(_repo.FullPath, Target.SHA, "--soft").Use(log).Exec();
|
||||
if (succ)
|
||||
succ = new Commands.Commit(_repo.FullPath, _message, signOff, true, true).Use(log).Run();
|
||||
succ = new Commands.Commit(_repo.FullPath, _message, signOff, true, false).Use(log).Run();
|
||||
|
||||
if (succ && autoStashed)
|
||||
new Commands.Stash(_repo.FullPath).Use(log).Pop("stash@{0}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue