]> source.dussan.org Git - gitea.git/commit
Fix CSV diff for added/deleted files (#21189) (#21193)
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 17 Sep 2022 10:53:04 +0000 (18:53 +0800)
committerGitHub <noreply@github.com>
Sat, 17 Sep 2022 10:53:04 +0000 (18:53 +0800)
commit5cb1037cb75fee013c0b657c585263148b52f1cf
tree60fa66065d77aa824267cbc2bc8155f9ce455316
parent2dcea782c5bae799b455694ba7149eae535457fc
Fix CSV diff for added/deleted files (#21189) (#21193)

Backport #21189
Fixes #21184
Regression of #19552

Instead of using `GetBlobByPath`, use the already existing instances.
routers/web/repo/compare.go
templates/repo/diff/box.tmpl
templates/repo/diff/csv_diff.tmpl