|
||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Calling this one an improvement makes more sense IMO. Jenkins, a Java application, runs on Windows as well, and text editors there don't add trailing newlines, so the applicability of POSIX on Jenkins isn't a given.
While it should be straightforward to just add a newline to the end of every XmlFile, the problem is how to introduce this. Otherwise all users will see changes to files for no real reason when they didn't modify XML configuration using a Unix tool.
"Only append if the previous file ended in a new line" maybe? That would be weird (why do some files end in newlines while others don't?), and you still get a change recorded whenever you edit a job's file for the first time.