Is there anyway to ignore style changes made by the Eclipse code formatting (Eg new lines, bracket style, etc), right now it just create a bunch of unnecessary stuff in my patch file.
Using the command diff -ur original modified > source.diff
Update: Sample input and desired output
The original code looks like:
private void sampleFunction()
{
// Code
}
But after i've used Eclipse, it looks like:
private void sampleFunction() {
// Code
}
And when using diff, it will include this. Is there any way to make it ignore this ?