From: Ray Strode Date: Wed, 3 Aug 2022 19:29:40 +0000 (-0400) Subject: scripts: Add -B to interdiff in check-format X-Git-Tag: 23.51.283~83^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb6d33782da3b286465442a059a2d1cd28c82333;p=thirdparty%2Fplymouth.git scripts: Add -B to interdiff in check-format It's currently complaining about an extra blank line in each file. That's a little extreme. Add -B. --- diff --git a/scripts/check-format.sh b/scripts/check-format.sh index 652bd3fe..aa04e2e3 100755 --- a/scripts/check-format.sh +++ b/scripts/check-format.sh @@ -27,7 +27,7 @@ find -name '*.[ch]' -exec uncrustify -q -c latest-uncrustify-config.cfg --replac echo > before find -name '*.[ch]' -exec git diff -- {} \; >> before -interdiff --no-revert-omitted before after > diff +interdiff -B --no-revert-omitted before after > diff if [ -n "$(cat diff)" ]; then echo "Uncrustify found style abnormalities" 2>&1