]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
scripts: Add -B to interdiff in check-format
authorRay Strode <rstrode@redhat.com>
Wed, 3 Aug 2022 19:29:40 +0000 (15:29 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 3 Aug 2022 19:32:04 +0000 (15:32 -0400)
It's currently complaining about an extra blank line in each file.
That's a little extreme.  Add -B.

scripts/check-format.sh

index 652bd3fe940d67fb6b29f90e0cb15fed73a05c9d..aa04e2e32b37d13061e291a1666682b22aff84fd 100755 (executable)
@@ -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