Lines Matching full:format
9 # This script is a wrapper around check-format.pl. It accepts a commit sha
11 # changed in that commit, filtering check-format.pl output only to lines that
16 # List of Regexes to use when running check-format.pl.
35 # used to locate the check-format.pl script
62 # given commit. It produces output of the format
93 # to $TEMPDIR/check-format. This give us the full file to run
94 # check-format.pl on with line numbers matching the ranges in the
99 mkdir -p $TEMPDIR/check-format/$FDIR
100 git show $COMMIT:$j > $TEMPDIR/check-format/$j
103 # Now for each file in $TEMPDIR/check-format run check-format.pl
105 # off the $TEMPDIR/check-format path prefix, leaving $j with the
107 # output from check-format.pl looks correct, relative to the root
109 for j in $(find $TEMPDIR/check-format -type f -printf "%P\n")
130 cd $TEMPDIR/check-format
132 # Actually run check-format.pl on the file, capturing the output
133 # in a temporary file. Note the format of check-patch.pl output is
135 $TOPDIR/util/check-format.pl $j > $TEMPDIR/format-results.txt
137 # Now we filter the check-format.pl output based on the changed lines
145 # field 2 of check-format.pl output is the offending line number
159 ' $TEMPDIR/format-results.txt