X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=admin%2Funcrustify.sh;h=e9590bdab3d51b87b63ea7e01ac738fba3b5857d;hb=1bf821d461c749fbc34987c5b10f4527da782ba1;hp=c683163076da1a59fff37254b7a853a7c283cbe8;hpb=d191fe153c29168087ae76c7d672d7fcf217fbad;p=alexxy%2Fgromacs.git diff --git a/admin/uncrustify.sh b/admin/uncrustify.sh index c683163076..e9590bdab3 100755 --- a/admin/uncrustify.sh +++ b/admin/uncrustify.sh @@ -82,9 +82,9 @@ # filters, specified in .gitattributes files. Only files that have the filter # set as "uncrustify" (or something ending in "uncrustify") are processed: if # other files have been changed, they are ignored by the script. Files passed -# to uncrustify, as well as files with filter "copyright", get their copyright -# header checked. To only run uncrustify for a file, set the filter to -# "uncrustify_only". +# to uncrustify, as well as files with filter "copyright" or "includesort", get +# their copyright header checked. To only run uncrustify for a file, set the +# filter to "uncrustify_only". # # If you want to run uncrustify automatically for changes you make, there are # two options: @@ -202,7 +202,7 @@ cut -f2 <$tmpdir/difflist | \ cut -f2 <$tmpdir/filtered >$tmpdir/filelist_all grep -E '(uncrustify|uncrustify_only)$' <$tmpdir/filtered | \ cut -f2 >$tmpdir/filelist_uncrustify -grep -E '(uncrustify|copyright)$' <$tmpdir/filtered | \ +grep -E '(uncrustify|copyright|includesort)$' <$tmpdir/filtered | \ cut -f2 >$tmpdir/filelist_copyright git diff-files --name-only | grep -Ff $tmpdir/filelist_all >$tmpdir/localmods