mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Remove the internal GitInfo type and make Page.GitInf() return a pointer
See #5693
This commit is contained in:
@@ -225,8 +225,8 @@ func (p *testPage) GetInternalRelatedDocsHandler() *RelatedDocsHandler {
|
||||
return relatedDocsHandler
|
||||
}
|
||||
|
||||
func (p *testPage) GitInfo() source.GitInfo {
|
||||
return source.GitInfo{}
|
||||
func (p *testPage) GitInfo() *source.GitInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *testPage) CodeOwners() []string {
|
||||
|
Reference in New Issue
Block a user