enhance: QuerySingleCommit supports X.509 and SSH gpg signing formats

This commit is contained in:
leo 2024-06-04 10:27:52 +08:00
parent 4b0af79f73
commit 5886997389

View file

@ -5,8 +5,8 @@ namespace SourceGit.Commands
{
public class QuerySingleCommit : Command
{
private const string GPGSIG_START = "gpgsig -----BEGIN PGP SIGNATURE-----";
private const string GPGSIG_END = " -----END PGP SIGNATURE-----";
private const string GPGSIG_START = "gpgsig -----BEGIN ";
private const string GPGSIG_END = " -----END ";
public QuerySingleCommit(string repo, string sha) {
WorkingDirectory = repo;