Merge pull request #235 from fluxcd/gogit-commit-hash

Properly forward commit hash for go-git implementation
This commit is contained in:
Hidde Beydals 2020-12-11 16:20:54 +01:00 committed by GitHub
commit 2a10773135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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