This is the commit 1eda481c rebased onto 5a62481d (which is referenced by GitLab tests (since gitlab-ce@66b37149eb72179e1b6329221b8a92e226e4e563)).
The modified .gitatributes to test fixes of gitlab-ce#18151 and gitlab-ce#14048
.gitatributes