You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a new repository with the README.md included.
Checkout the repository: git clone repourl .
Rename file: git mv README.md README2.md
Modify file: echo "update content" >> README2.md
Commit changes: git commit -am 'update and rename file'
Push to a new branch: git push origin master:devel
Create a pull request of the devel 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 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.
[x]
):log/gogs.log
):Description
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.md
echo "update content" >> README2.md
git commit -am 'update and rename file'
git push origin master:devel
devel
branch compared tomaster
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.
...
The text was updated successfully, but these errors were encountered: