From 7ac487545c5ddc5605f001bb3cecd3da6732ee4a Mon Sep 17 00:00:00 2001 From: Jens Pfeifle Date: Tue, 3 May 2022 20:22:11 +0200 Subject: [PATCH] fixup! Add command to reset the commit author from the commits panel. --- pkg/commands/git_commands/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_commands/commit.go b/pkg/commands/git_commands/commit.go index 4cbc3033c..501e6b06b 100644 --- a/pkg/commands/git_commands/commit.go +++ b/pkg/commands/git_commands/commit.go @@ -23,7 +23,7 @@ func (self *CommitCommands) RewordLastCommit(message string) error { return self.cmd.New("git commit --allow-empty --amend --only -m " + self.cmd.Quote(message)).Run() } -// Reset the author of the topmost commit. +// ResetAuthor resets the author of the topmost commit func (self *CommitCommands) ResetAuthor() error { return self.cmd.New("git commit --allow-empty --no-edit --amend --reset-author").Run() }