WIP: test ending line mode on .erb
NOT TO BE MERGED
Probably related to https://gitlab.com/gitlab-com/www-gitlab-com/issues/1152
The whole story
- This commit from the UI shows the file
culture/index.html.md.erb
is broken: https://gitlab.com/gitlab-com/www-gitlab-com/commit/ee0d85e6748a9eae208ec8e83f23bda1466f953e // !5225 (closed) - I committed from the command line to !5224 (merged) - looks normal
- I tested it again, duplicating line 17 from the UI: https://gitlab.com/gitlab-com/www-gitlab-com/commit/a0a5cdcdbe0ce875ed7eb0496c1abe884e590809 - reproducing the original error from !5225 (closed)
Weird, so I asked in #questions
- Kim ran
file
and the output says the line ending mode is CRLF. Therefore, apparently, the file is broken on master. - Question: why isn't Git prompting me that the mode changed?
- Question: why committing from the command line didn't fix it?
cc/ @DouweM @rspeicher @bkc Thoughts?