Properly forward commit hash for go-git impl

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals 2020-12-11 16:05:02 +01:00
parent c602c5d850
commit 8f2a920765
1 changed files with 1 additions and 1 deletions

View File

@ -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