Steps to reproduce: 1. Start with a repo with an image 2. Add a commit to delete the image 3. Add another commit to replace the image with another image In a diff comparison, we really just compare about what the image was before the diff, not the direct parent of the last commit. This MR fixes that. Closes #3893, gitlab-org/gitlab-ee#678 Signed-off-by: Rémy Coutable <remy@rymai.me> |
||
|---|---|---|
| .. | ||
| file_collection | ||
| diff_refs.rb | ||
| file.rb | ||
| highlight.rb | ||
| inline_diff.rb | ||
| inline_diff_marker.rb | ||
| line.rb | ||
| line_code.rb | ||
| line_mapper.rb | ||
| parallel_diff.rb | ||
| parser.rb | ||
| position.rb | ||
| position_tracer.rb | ||