]> source.dussan.org Git - gitea.git/commit
Show diff on rename with diff changes (#15338)
authorzeripath <art27@cantab.net>
Thu, 8 Apr 2021 19:35:36 +0000 (20:35 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 19:35:36 +0000 (15:35 -0400)
commitf544414a232c148d4baf2e9d807f6cbffed67928
tree450a1cb0ea49a2df19b38b9d95b27d3788cdb6ff
parentb62bd8e7c0b54b6217abf67124c2a6cdd70be960
Show diff on rename with diff changes (#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