Hi H Shah,

I pushed some changes to my local branch and updated the tests cases:
https://github.com/charleswhchan/patch-parameter-plugin/tree/JENKINS-27169/src/test/resources/org/jenkinsci/plugins/patch

Specifically, I created 2 patch files. One file for UNIX platform (LF line ending) and the other for Windows (CRLF line ending).

$ file unix-gitstyle.patch 
unix-gitstyle.patch: unified diff output, ASCII text

$ file windows-gitstyle.patch 
windows-gitstyle.patch: unified diff output, ASCII text, with CRLF line terminators

Then each patch is applied against foo.txt and verifies the output ends up in the native line ending format.
https://github.com/charleswhchan/patch-parameter-plugin/blob/JENKINS-27169/src/test/java/org/jenkinsci/plugins/patch/SomeTest.java

So base on the tests, your scenario should work?

Feel free to run and modify the test and let me know of your result.

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.

Reply via email to