diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2024-02-08 19:17:05 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-02-15 01:33:23 +0300 |
commit | af404fb1ed2a19bd30f5e50bfb4f93a42737a6eb (patch) | |
tree | 979b934fb807fe3e8e02187c647b52e7b226a008 /Documentation/Makefile | |
parent | 84b4cc8189f222ff3e32ea9d09afb7ae4a4a4205 (diff) | |
download | linux-af404fb1ed2a19bd30f5e50bfb4f93a42737a6eb.tar.xz |
scripts/kernel-doc: reindent
This file is using an ungodly mixture of 4 spaces, 2-wide tabs, 4-wide
tabs, _and_ 8-wide tabs, making it really hard to find good editor
settings for working with this file.
Bite the bullet and reindent it by hand. I tried using both perltidy
and vim, but neither of them were up to the task without changing too
much or getting confused about what they were supposed to be doing.
I did change a few instances of
}
else
into
} else
(and same for elsif); the file is again written using both styles, and
I left functions which already seemed self-consistent alone.
You can verify that this commit only changes whitespace using e.g.:
git diff --ignore-all-space --word-diff
or to see (only) the instances where newlines were added/removed:
git diff --ignore-all-space
You can also see the delta from what perltidy would have wanted to
do to this file (when asked to only indent it), which isn't that much
in the end:
perltidy -io -fnl scripts/kernel-doc
git diff --no-index scripts/kernel-doc{,.tdy}
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240208161705.888385-1-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions