Skip to content

Commit 8f2a920

Browse files
committed
Properly forward commit hash for go-git impl
Signed-off-by: Hidde Beydals <[email protected]>
1 parent c602c5d commit 8f2a920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/git/v1/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Commit struct {
2828
}
2929

3030
func (c *Commit) Hash() string {
31-
return ""
31+
return c.commit.Hash.String()
3232
}
3333

3434
// Verify returns an error if the PGP signature can't be verified

0 commit comments

Comments
 (0)