diff options
Diffstat (limited to 'modules/markup/html.go')
-rw-r--r-- | modules/markup/html.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go index b8069d459a..8d3327c49e 100644 --- a/modules/markup/html.go +++ b/modules/markup/html.go @@ -1144,7 +1144,8 @@ func hashCurrentPatternProcessor(ctx *RenderContext, node *html.Node) { }) } - exist = ctx.GitRepo.IsObjectExist(hash) + // Don't use IsObjectExist since it doesn't support short hashs with gogit edition. + exist = ctx.GitRepo.IsReferenceExist(hash) ctx.ShaExistCache[hash] = exist } |