Skip to content

Commit 2a10773

Browse files
authored
Merge pull request #235 from fluxcd/gogit-commit-hash
Properly forward commit hash for go-git implementation
2 parents c602c5d + 8f2a920 commit 2a10773

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)