]> source.dussan.org Git - gitea.git/commit
Show diff on rename with diff changes (#15338) (#15339)
authorzeripath <art27@cantab.net>
Thu, 8 Apr 2021 19:36:17 +0000 (20:36 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 19:36:17 +0000 (15:36 -0400)
commit16e34025b41e1f9d14fdf0d86c5d8f08de1dc4a4
tree4189198071b5f0d97571b16cddb03b7a994a8951
parent456d63b6cfe6093c19b92627547263219152a9db
Show diff on rename with diff changes (#15338) (#15339)

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