diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 6c6679f..c41b341 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -317,10 +317,10 @@ {% endmacro %} {% if patch | hasattr('new_file_path') %} - {%- if patch.new_file_path == patch.old_file_path -%} + {%- if patch.new_file_path == patch.old_file_path and patch.status != 'M' -%} {{ lineschanged(True, True) }}
- {{patch.old_file_path}}
+ {{ patch.old_file_path }}
{{ viewfilelink(patch.new_file_path) }}
file moved