mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
be quiet when make style
does nothing
The `make style` and `make style-all` commands have been performing well without glitches for long enough that it is no longer necessary to report when they don't change the style of a file. Especially in light of the fact that all the relevant code has been restyled in the past year. This change makes `make style-all` much less noisy.
This commit is contained in:
parent
64fe617c63
commit
7d65141137
1 changed files with 0 additions and 2 deletions
|
@ -79,7 +79,6 @@ if set -q c_files[1]
|
||||||
cp $file $file.new # preserves mode bits
|
cp $file $file.new # preserves mode bits
|
||||||
clang-format $file >$file.new
|
clang-format $file >$file.new
|
||||||
if cmp --quiet $file $file.new
|
if cmp --quiet $file $file.new
|
||||||
echo $file was correctly formatted
|
|
||||||
rm $file.new
|
rm $file.new
|
||||||
else
|
else
|
||||||
echo $file was NOT correctly formatted
|
echo $file was NOT correctly formatted
|
||||||
|
@ -107,7 +106,6 @@ if set -q f_files[1]
|
||||||
cp $file $file.new # preserves mode bits
|
cp $file $file.new # preserves mode bits
|
||||||
fish_indent <$file >$file.new
|
fish_indent <$file >$file.new
|
||||||
if cmp --quiet $file $file.new
|
if cmp --quiet $file $file.new
|
||||||
echo $file was correctly formatted
|
|
||||||
rm $file.new
|
rm $file.new
|
||||||
else
|
else
|
||||||
echo $file was NOT correctly formatted
|
echo $file was NOT correctly formatted
|
||||||
|
|
Loading…
Reference in a new issue