Patch #28295

Show name changes in diff preview

Added by Gregor Schmidt 18 days ago. Updated 10 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next major release


When previewing uploaded diff/patch files, which contains renames, Redmine will always show the new file name in the diff preview. This can be misleading, since it would not show that the old file was removed.

The attached patch keeps track of the previous file name and shows the additional information in the UI.

!Screen Shot 2018-03-05 at 14.48.00.png!

Please note, this patch was tested with/developed for git's patch files. Also, pure renames (without file modifications) will not be visible -- just like they are today.

0001-Show-renames-in-diff-preview.patch Magnifier (4.35 KB) Gregor Schmidt, 2018-03-05 14:58

Screen Shot 2018-03-05 at 14.48.00.png (8.04 KB) Gregor Schmidt, 2018-03-05 14:58


#1 Updated by Gregor Schmidt 18 days ago

#2 Updated by Go MAEDA 10 days ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF