#4306 Fix displaying diffs that contain symlinks. Fixes #4006
Merged by pingou. Opened by bkabrda.
bkabrda/pagure fix-symlink-diffs  into  master

Download 4306.patch

Basically, the issue is that current code doesn't expect 40960 (0o120000), which is the code for symlinks. This PR fixes all ocurences of this problem - displaying headers for diffs with symlink on commit details page and also any page containing diffs (comparing two commits, displaying pull request).

Fixes #4006

Code looks neat, thanks for fixing this.

Let's wait for jenkins and get this in :)

11:46:00  FAILED test: py3-test_pagure_flask_ui_repo

rebased onto dade63be547111d267254dace6c962343bb566df

:thumbsup:

Pull-Request has been merged by pingou

Metadata