public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zopolis0 <creatorsmithmdt@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Applying GNU style automatically
Date: Tue, 20 Sep 2022 11:17:32 +1000	[thread overview]
Message-ID: <CAEYL+X_VU1tyMd7RB8qfKBRbZ5wmsQkwEqS12-=de6asmWTUhw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

The editor I use (Sublime Text) disagrees with gcc on tabs vs spaces and
tabs-spaces mixing, so every change I make is surrounded by a lot of
whitespace diff.

This makes git merge freak out, and I want to get rid of it.

I have too many patches to do manually, so I was wondering whether
check_GNU_style.(sh/py) had a way to automatically apply the recommended
whitespace changes.

             reply	other threads:[~2022-09-20  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-20  1:17 Zopolis0 [this message]
2022-09-20  7:31 ` Jonathan Wakely

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='CAEYL+X_VU1tyMd7RB8qfKBRbZ5wmsQkwEqS12-=de6asmWTUhw@mail.gmail.com' \
    --to=creatorsmithmdt@gmail.com \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).