Content
View differences
Updated by Nicolas Salguero about 8 years ago
Hi,
The correction of bug \#24960 is incomplete because it does not solve the problem when clicking on the “(diff)” link at the right of the file name. To solve that issue, my patch modifies “config/routes.rb”.
Moreover, exporting in unified diff does not work anymore because the link is “/projects/<project_id>/repository/revisions/<rev>/diff</path/to/file>.diff” and it should be “/projects/<project_id>/repository/revisions/<rev>/diff.diff?path=<path/to/file>”. I did a correction in “app/views/repositories/diff.html.erb” in my patch.
Best regards,
Nicolas Salguero.
The correction of bug \#24960 is incomplete because it does not solve the problem when clicking on the “(diff)” link at the right of the file name. To solve that issue, my patch modifies “config/routes.rb”.
Moreover, exporting in unified diff does not work anymore because the link is “/projects/<project_id>/repository/revisions/<rev>/diff</path/to/file>.diff” and it should be “/projects/<project_id>/repository/revisions/<rev>/diff.diff?path=<path/to/file>”. I did a correction in “app/views/repositories/diff.html.erb” in my patch.
Best regards,
Nicolas Salguero.