From: "Olivier C. Larocque" <olivier.c.larocque@gmail.com>
To: hpa@zytor.com
Cc: linux-kernel@vger.kernel.org,
"Olivier C. Larocque" <olivier.c.larocque@gmail.com>
Subject: [PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars
Date: Wed, 3 Aug 2016 19:33:57 -0400 [thread overview]
Message-ID: <1470267237-78601-1-git-send-email-olivier.c.larocque@gmail.com> (raw)
Make cleanfile and cleanpatch scripts warn about lines that
exceed 80 caracters instead of 79. This makes the warnings
consistent with the coding standard and the checkpatch script.
Signed-off-by: Olivier C. Larocque <olivier.c.larocque@gmail.com>
---
scripts/cleanfile | 2 +-
scripts/cleanpatch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/cleanfile b/scripts/cleanfile
index cefd29e..e99fe0b 100755
--- a/scripts/cleanfile
+++ b/scripts/cleanfile
@@ -8,7 +8,7 @@ use bytes;
use File::Basename;
# Default options
-$max_width = 79;
+$max_width = 80;
# Clean up space-tab sequences, either by removing spaces or
# replacing them with tabs.
diff --git a/scripts/cleanpatch b/scripts/cleanpatch
index 9680d03..778cf47 100755
--- a/scripts/cleanpatch
+++ b/scripts/cleanpatch
@@ -8,7 +8,7 @@ use bytes;
use File::Basename;
# Default options
-$max_width = 79;
+$max_width = 80;
# Clean up space-tab sequences, either by removing spaces or
# replacing them with tabs.
--
2.7.4
reply other threads:[~2016-08-04 0:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470267237-78601-1-git-send-email-olivier.c.larocque@gmail.com \
--to=olivier.c.larocque@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®