aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-02-15 21:35:49 +0100
committerMichael Muré <batolettre@gmail.com>2022-02-15 21:35:49 +0100
commit44f61b66775e77fd8b42ba3ea57b2c323463b725 (patch)
tree8d611d4df0112c7ff20b6b834283fb459dd6e3d1 /repository/repo.go
parent9ed515fd546a6ed5e82b2b87d12f0241727d3f89 (diff)
downloadgit-bug-44f61b66775e77fd8b42ba3ea57b2c323463b725.tar.gz
update keyring and migrate to github.com/ProtonMail/go-crypto
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/repo.go b/repository/repo.go
index 80bb7ce7..1994f6dd 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -5,9 +5,9 @@ import (
"errors"
"io"
+ "github.com/ProtonMail/go-crypto/openpgp"
"github.com/blevesearch/bleve"
"github.com/go-git/go-billy/v5"
- "golang.org/x/crypto/openpgp"
"github.com/MichaelMure/git-bug/util/lamport"
)
@@ -129,7 +129,7 @@ type RepoData interface {
// StoreCommit will store a Git commit with the given Git tree
StoreCommit(treeHash Hash, parents ...Hash) (Hash, error)
- // StoreCommit will store a Git commit with the given Git tree. If signKey is not nil, the commit
+ // StoreSignedCommit will store a Git commit with the given Git tree. If signKey is not nil, the commit
// will be signed accordingly.
StoreSignedCommit(treeHash Hash, signKey *openpgp.Entity, parents ...Hash) (Hash, error)