[x]):log/gogs.log):In some cases when viewing diffs on files for a pull request it does not show the change in file name.
It appears to happen when the file is renamed and some lines are added or modified.
the commands performed to recreate:
git clone repourl .git mv README.md README2.mdecho "update content" >> README2.mdgit commit -am 'update and rename file'git push origin master:develdevel branch compared to master Additionally if you try to click the View File button it will take you to a 404 page because README.md is now README2.md
I have found that the above issue does not always appear.
See https://try.gogs.io/xuu/filename-example/pulls/1/files
where nearly the same steps were taken but it does not display the error.
...
I am facing the same issue. Renaming of file is not showing and rendering returning 404 page. The issue occurs especially in the when the only change in the name is case change.
For example renaming Architecture.md to architecture.md.
Same problem for me using:
Gogs Version: 0.11.86.0130
5.5.60-MariaDB
git version 1.8.3.1
CentOS Linux release 7.6.1810 (Core)
Should be fixed by https://github.com/gogs/gogs/pull/6048.
Most helpful comment
I am facing the same issue. Renaming of file is not showing and rendering returning 404 page. The issue occurs especially in the when the only change in the name is case change.
For example renaming
Architecture.mdtoarchitecture.md.