Merge "Change default diff whitespace to IGNORE_LEADING_AND_TRAILING"

This commit is contained in:
Edwin Kempin 2016-08-17 18:28:22 +00:00 committed by Gerrit Code Review
commit 2187471654

View File

@ -130,7 +130,7 @@ public class GetDiff implements RestReadView<FileResource> {
} else if (ignoreWhitespace != null) {
prefs.ignoreWhitespace = ignoreWhitespace.whitespace;
} else {
prefs.ignoreWhitespace = Whitespace.IGNORE_ALL;
prefs.ignoreWhitespace = Whitespace.IGNORE_LEADING_AND_TRAILING;
}
prefs.context = context;
prefs.intralineDifference = intraline;