Closed boudekerk closed 7 years ago
@gnustavo Just to add, the config we tested with included: core.whitespace=blank-at-eol,space-before-tab,tab-in-indent,cr-at-eol,-blank-at-eof
So if I read this[0] correctly, using '-blank-at-eof' and 'cr-at-eol', the CRLF line-endings, not the blank line at the end should have been issues, only the trailing space at line 16. Using 'git diff --check' on the command line confirms this.
[0] https://git-scm.com/docs/git-config#git-config-corewhitespace
Hi, I just released v2.1.7. I couldn't reproduce the problem with this version. Can you check it out and tell me if it works for you, please?
I can't reproduce it with 2.1.7 either. Thanks again.
For some reason the CheckWhitespace plugin doesn't like certain files, for example this CND: https://code.onehippo.org/cms-community/hippo-site-toolkit/raw/master/toolkit-resources/addon/unittestcontents/src/main/resources/hcm-config/unittestproject-types.cnd
This seems to do with CRLF lineendings. When converting those we're left with:
Which are both valid complaints.