Merge branch 'jc/sign-buffer-failure-propagation-fix' into maint-2.43
A failed "git tag -s" did not necessarily result in an error depending on the crypto backend, which has been corrected. * jc/sign-buffer-failure-propagation-fix: ssh signing: signal an error with a negative return value tag: fix sign_buffer() call to create a signed tag
This commit is contained in:
@ -1078,7 +1078,7 @@ static int sign_buffer_ssh(struct strbuf *buffer, struct strbuf *signature,
|
||||
if (strstr(signer_stderr.buf, "usage:"))
|
||||
error(_("ssh-keygen -Y sign is needed for ssh signing (available in openssh version 8.2p1+)"));
|
||||
|
||||
error("%s", signer_stderr.buf);
|
||||
ret = error("%s", signer_stderr.buf);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user