Skip to content

Commit 2aac677

Browse files
committed
fix: squash should not change the original author
Signed-off-by: leo <longshuang@msn.cn>
1 parent 9affca1 commit 2aac677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/Squash.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override Task<bool> Sure()
5353

5454
succ = new Commands.Reset(_repo.FullPath, Target.SHA, "--soft").Use(log).Exec();
5555
if (succ)
56-
succ = new Commands.Commit(_repo.FullPath, _message, signOff, true, true).Use(log).Run();
56+
succ = new Commands.Commit(_repo.FullPath, _message, signOff, true, false).Use(log).Run();
5757

5858
if (succ && autoStashed)
5959
new Commands.Stash(_repo.FullPath).Use(log).Pop("stash@{0}");

0 commit comments

Comments
 (0)