From 740e60e31032a812c0df7582e861898ae7c5cc1a Mon Sep 17 00:00:00 2001 From: Gusted Date: Thu, 14 Apr 2022 18:42:39 +0200 Subject: [PATCH] Fix double blob-hunk - Don't show the blob-hunk twice. --- templates/repo/diff/section_unified.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/repo/diff/section_unified.tmpl b/templates/repo/diff/section_unified.tmpl index dbd0ca269f33..2fe3f6490389 100644 --- a/templates/repo/diff/section_unified.tmpl +++ b/templates/repo/diff/section_unified.tmpl @@ -31,9 +31,7 @@ {{if eq .GetType 4}} {{/* */}}{{$inlineDiff.Content}}{{/* - */}} - {{$line.Content}} - + */}} {{else}} {{/* */}}{{if and $.root.SignedUserID $.root.PageIsPullFiles}}{{/*