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 2 additions and 0 deletions
Showing only changes of commit f36992c389 - Show all commits

View File

@ -239,6 +239,8 @@ func checkAllCommitsSigned(t *testing.T, entity *openpgp.Entity, repo *Repositor
}
func checkCommitSigned(t *testing.T, entity *openpgp.Entity, commit *Commit) error {
t.Helper()
signature, signedData, err := commit.ExtractSignature()
if err != nil {
t.Logf("No signature on commit\n%s", commit.ContentToSign())