Skip to content

Online Editor should not remove newlines at the end of the file

Dev: https://dev.gitlab.org/gitlab/gitlabhq/issues/2517

Sid

Now it always removes it. Respecting the current situation at the end of the file is OK but always adding it is also OK for me. See http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline

Job

I think we should respect the current situation in a file and not remove it. GitLab is not strongly opinionated software.

cc @sytses, @JobV