Add support for creating signed commits and signing commits during a rebase #626

Merged
mbfr merged 25 commits from master into master 2020-08-18 11:25:31 -05:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 9a59f80e1c - Show all commits

View File

@ -220,11 +220,9 @@ func TestRebaseGpgSigned(t *testing.T) {
func checkAllCommitsSigned(t *testing.T, entity *openpgp.Entity, repo *Repository) {
head, err := headCommit(repo)
checkFatal(t, err)
defer head.Free()
parent := head.Parent(0)
defer parent.Free()
parent := head
err = checkCommitSigned(t, entity, parent)
checkFatal(t, err)