public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: Richard Guenther <rguenther@suse.de>,
	        Richard Kenner <kenner@vlsi1.ultra.nyu.edu>,
	matz@suse.de,         gcc@gcc.gnu.org, hongjiu.lu@intel.com
Subject: Re: WTF?
Date: Wed, 25 Nov 2009 19:59:00 -0000	[thread overview]
Message-ID: <4B0D8C8F.1020502@redhat.com> (raw)
In-Reply-To: <4B0D8BAA.8020505@starynkevitch.net>

On 11/25/09 12:55, Basile STARYNKEVITCH wrote:
> Richard Guenther wrote:
>>
>> Btw, I'd be happy with a commit hook that forces you to fix
>> whitespace in the area you patch (basically just make sure there
>> is no trailing whitespace in ^[+ ] lines of a unified diff
>> (maybe even only in ^+ lines to not cause continuous rejects
>> if you fixup the ^  lines in your patch and drag in more context).
>
>
> Then, I might suggest using GNU indent as the commit hook.
>
> Of course, not every one has it (notably those working on non-linux 
> systems), but for those who have it, requiring that every C file 
> inside GCC has been automatically indented with GNU indent could help. 
> It certainly could have helped me for most of the patches I have 
> submitted (but I am too afraid of running indent on a GCC file by 
> myself; it probably would change lot of things outside of my patch).
>
> But I confess that I don't know much about svn commit machinery.
I'd support something along these lines as well.  Regardless of whether 
or not one likes the GNU formatting standards, having a standard is a 
good thing.

jeff

  reply	other threads:[~2009-11-25 19:59 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 16:39 WTF? Richard Guenther
2009-11-25 16:40 ` WTF? Richard Guenther
2009-11-25 16:47   ` WTF? Richard Kenner
2009-11-25 16:50     ` WTF? Richard Guenther
2009-11-26 12:14       ` WTF? Vincent Lefevre
2009-11-25 16:58     ` WTF? Jeff Law
2009-11-25 17:09       ` WTF? Michael Matz
2009-11-25 17:16         ` WTF? Richard Kenner
2009-11-25 18:18           ` WTF? Michael Matz
2009-11-25 19:00             ` WTF? Richard Kenner
2009-11-25 19:39               ` WTF? Richard Guenther
2009-11-25 19:43                 ` WTF? Richard Guenther
2009-11-25 19:55                   ` WTF? Basile STARYNKEVITCH
2009-11-25 19:59                     ` Jeff Law [this message]
2009-11-25 23:05                     ` WTF? Tom Tromey
2009-11-25 23:08                       ` WTF? Richard Guenther
2009-11-25 23:30                         ` WTF? Basile STARYNKEVITCH
2009-11-26  0:54                           ` WTF? Joern Rennecke
2009-11-27 10:24                         ` WTF? Richard Earnshaw
2009-11-27 14:40                           ` SVN pre-commit filter (Was: Re: WTF?) Joern Rennecke
2009-11-27 14:43                             ` Richard Earnshaw
2009-11-27 15:35                               ` Joseph S. Myers
2009-11-25 23:27                       ` WTF? Joseph S. Myers
2009-11-25 21:47                 ` WTF? Paolo Bonzini
2009-11-27 10:36                 ` WTF? Peter Zijlstra
2009-11-26 13:08               ` WTF? Michael Matz
2009-11-26 18:32                 ` WTF? Dave Korn
2009-11-25 19:31           ` WTF? Richard Guenther
2009-11-25 19:44             ` WTF? Daniel Jacobowitz
2009-11-25 23:21               ` WTF? Alexandre Oliva
2009-11-26  8:56                 ` WTF? Paolo Bonzini
2009-11-26 10:07                   ` WTF? Richard Guenther
2009-11-26 10:43                     ` WTF? Philip Martin
2009-11-25 20:17             ` WTF? Kaveh R. GHAZI
2009-11-25 20:22               ` WTF? Dave Korn
2009-11-25 20:28                 ` WTF? Richard Guenther
2009-11-25 20:33                   ` WTF? Kaveh R. Ghazi
2009-11-25 20:31                 ` WTF? Kaveh R. Ghazi
2009-11-25 20:35                   ` WTF? Richard Kenner
2009-11-25 20:51                     ` WTF? Kaveh R. Ghazi
2010-01-02 17:11                       ` WTF? Gerald Pfeifer
2009-11-25 20:37                   ` [annoyed grunt]? Dave Korn
2009-11-25 20:42                     ` Kaveh R. Ghazi
2009-11-25 20:48                       ` Dave Korn
2009-11-25 23:12               ` WTF? Ben Elliston
2009-11-26 12:46                 ` WTF? Vincent Lefevre
2009-11-25 17:19         ` WTF? Jeff Law
2009-11-25 17:25           ` WTF? Joseph S. Myers
2009-11-25 17:32             ` WTF? Dave Korn
2009-11-25 19:34               ` WTF? Richard Guenther
2009-11-25 19:58                 ` trivial trailing whitespace issue Jeff Law
2009-11-25 20:08                   ` Basile STARYNKEVITCH
2009-11-25 20:58                     ` Joseph S. Myers
2009-11-25 21:39                       ` Basile STARYNKEVITCH
2009-11-25 22:26                         ` Joern Rennecke
2009-11-25 22:36                           ` Basile STARYNKEVITCH
2009-11-26 13:18                     ` Michael Matz
2009-11-26 18:46                       ` Basile STARYNKEVITCH
2009-11-26 19:38                       ` Mark Mielke
2009-11-25 21:04                   ` Andrew Haley
2009-11-27  8:08                   ` Sebastian Huber
2009-11-25 17:28           ` WTF? Richard Kenner
2009-11-25 17:03   ` WTF? Michael Matz
2009-11-25 17:29     ` WTF? Dave Korn
2009-11-25 21:55       ` WTF? Paolo Bonzini
2009-11-27 10:35     ` WTF? Richard Earnshaw
2009-11-27 13:41       ` doh? Dave Korn
2009-11-27 13:48         ` doh? Michael Matz
2009-11-27 14:05           ` doh? Dave Korn
2009-11-27 14:16             ` doh? Paolo Bonzini
2009-11-27 14:32               ` doh? Dave Korn
2009-11-27 14:22           ` doh? Joern Rennecke
2009-11-25 23:52 ` WTF? Lu, Hongjiu
2009-11-26  0:09   ` WTF? H.J. Lu
2009-11-26 15:11   ` WTF? Jeff Law
2009-11-26 23:17     ` WTF? Lu, Hongjiu
2009-11-25 19:41 WTF? Dennis Clarke
2009-11-25 20:01 ` WTF? Jeff Law
2009-11-25 20:18   ` WTF? Dave Korn

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=4B0D8C8F.1020502@redhat.com \
    --to=law@redhat.com \
    --cc=basile@starynkevitch.net \
    --cc=gcc@gcc.gnu.org \
    --cc=hongjiu.lu@intel.com \
    --cc=kenner@vlsi1.ultra.nyu.edu \
    --cc=matz@suse.de \
    --cc=rguenther@suse.de \
    /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).