]> Git Repo - qemu.git/commit
scripts: add script to convert multiline comments into 4-line format
authorPaolo Bonzini <[email protected]>
Fri, 14 Dec 2018 09:33:22 +0000 (10:33 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 11 Jan 2019 14:46:55 +0000 (15:46 +0100)
commit6afeb39713010742b4c45e2693ee7b3bf098fba8
tree73a2aa36ef7027185beb5f9e97d468f2fd4f67ca
parent7d2fcebbdc853d722852849ea61dc23662114487
scripts: add script to convert multiline comments into 4-line format

Since we're adding checkpatch rules to enforce 4-line multiline comment
format, i.e. with lone /* and */, this script can be run on existing
code so that the comment style does not become inconsistent within a
file.

The alternative to awk-in-a-shell-script could be Perl, which also
supports -i directly, but a2p seems to have bitrotten and I didn't quite
feel like writing this twice...

Signed-off-by: Paolo Bonzini <[email protected]>
scripts/fix-multiline-comments.sh [new file with mode: 0755]
This page took 0.021059 seconds and 4 git commands to generate.