From 17f5727e7e0c62d7888cebc5a5663e6f56f49e58 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 4 Oct 2016 19:48:40 -0700 Subject: [PATCH] do not restyle all fish scripts For now don't restyle all the fish scripts. That's because there are still problems with the `fish_indent` output that require manual intervention. Not to mention that very few of the fish scripts even conform to `fish_indent` output at this time. --- build_tools/style.fish | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_tools/style.fish b/build_tools/style.fish index d2a445835..9ac4bb7f0 100755 --- a/build_tools/style.fish +++ b/build_tools/style.fish @@ -30,7 +30,12 @@ if test $all = yes exit 1 end set c_files src/*.h src/*.cpp - set f_files share/***.fish + # For now we don't restyle all the fish scripts. That's because `fish_indent` still has some + # problems with its output that require manual intervention. Not to mention that very few of the + # fish scripts even conform to `fish_indent` output at this time. When `fish_indent` output is + # deemed acceptable as a default and all the fish scripts have been restyled this comment should + # be removed and the following statement uncommented. + # set f_files share/***.fish else # We haven't been asked to reformat all the source. If there are uncommitted changes reformat # those using `git clang-format`. Else reformat the files in the most recent commit.