On Thu, Sep 12, 2024 at 5:23 AM Eric Pouech eric.pouech@orange.fr wrote:
some updates (eg [1] done from web interface) have a diff that appears with all lines touched (which is not the case)
the modified files have now CRLF line termination (while untouched haven't)
is that something we want to change to have better history view?
[1] https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Developer%27s-Guide/Debuggi...
As a workaround, you can click the "Hide whitespace changes" button. But it's a little insane that GitLab saves wiki pages with CRLF line endings, as can be seen when downloading the Markdown source file for the page.[1]
I see that the wiki is actually a Git repository located at ssh://git@gitlab.winehq.org/wine/wine.wiki.git. Could we push a .gitattributes file to that repository with the line "* text=auto" to make it use Unix line endings? [2] At the same time, it will be necessary to run dos2unix over any files that have been accidentally converted to CRLF and recommit them.
-Alex
[1] https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Developer%27s-Guide/Debuggi... [2] https://git-scm.com/docs/gitattributes#_checking_out_and_checking_in