From 8f2a9207654714c3e3f16c650ac007b64bcaf95b Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Fri, 11 Dec 2020 16:05:02 +0100 Subject: [PATCH] Properly forward commit hash for go-git impl Signed-off-by: Hidde Beydals --- pkg/git/v1/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/git/v1/commit.go b/pkg/git/v1/commit.go index 7ff24baa..ac1c2b78 100644 --- a/pkg/git/v1/commit.go +++ b/pkg/git/v1/commit.go @@ -28,7 +28,7 @@ type Commit struct { } func (c *Commit) Hash() string { - return "" + return c.commit.Hash.String() } // Verify returns an error if the PGP signature can't be verified