<p></p>
<p>Well my reading <code>gitattributes(5)</code> doesn't support that. It says:</p>
<blockquote>
<pre><code>       Set to string value "auto"
           When text is set to "auto", the path is marked for automatic
           end-of-line conversion. If Git decides that the content is
           text, its line endings are converted to LF on checkin. When the
           file has been committed with CRLF, no conversion is done.
</code></pre>
</blockquote>
<p>which I took to mean that it always converted to CRLF and ignored the <code>eol</code> attribute.</p>
<p>Equally looking at the documentation for <code>eol</code> it says:</p>
<blockquote>
<pre><code>   eol
       This attribute sets a specific line-ending style to be used in the
       working directory. It enables end-of-line conversion without any
       content checks, effectively setting the text attribute. Note that
       setting this attribute on paths which are in the index with CRLF
       line endings may make the paths to be considered dirty. Adding the
       path to the index again will normalize the line endings in the
       index.
</code></pre>
</blockquote>
<p>which appears to say that setting it implies <code>text=true</code> forcing conversion for all files and disabling detection of text files.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3313#issuecomment-914280967">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIF76RX5M7564CYVCLUAYDLRANCNFSM5DSAEEBQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAK2OLMNNORPRLIIMVO55ATUAYDLRA5CNFSM5DSAEEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGZ7NEBY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3313#issuecomment-914280967",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3313#issuecomment-914280967",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>