]> source.dussan.org Git - gitea.git/commit
Show diff on rename with diff changes (#15338) (#15340)
authorzeripath <art27@cantab.net>
Thu, 8 Apr 2021 19:35:47 +0000 (20:35 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 19:35:47 +0000 (15:35 -0400)
commit62fbca3af4cfaedc796e23ddb3544c7aaf846184
treedc1368fbf0df30d2040338695b5e2e4f4b94cccc
parent223dddb29e7559896a49b4e3fc89472b4444abf6
Show diff on rename with diff changes (#15338) (#15340)

Backport #15338

More recent versions of git have increased support for detection of renames meaning
that a rename with diff changes is now supported.

Although ParsePatch supports this - our templates do not and the simplest solution
is simply to show the diff.

Fix #15335

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
templates/repo/diff/box.tmpl