qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-trivial@nongnu.org.com,
	Markus Armbruster <armbru@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] typedefs: Put them back into alphabetical order
Date: Thu, 19 Nov 2015 13:10:47 +0000	[thread overview]
Message-ID: <20151119131047.GF9247@redhat.com> (raw)
In-Reply-To: <20151119130339.GC2653@work-vm>

On Thu, Nov 19, 2015 at 01:03:39PM +0000, Dr. David Alan Gilbert wrote:
> * Markus Armbruster (armbru@redhat.com) wrote:
> > "Please keep this list in alphabetical order" has been more honoured
> > in the breach than in the observance.  Clean up.
> > 
> > While there, drop a redundant struct declaration.
> > 
> > Signed-off-by: Markus Armbruster <armbru@redhat.com>
> 
> Hmph, it's only a year since I sorted this file.
> At least one of these changes is from a misordering within one patch!

Which just goes to show that any such rules about sorting are
not worth the hassle unless you also provide some make rule to
validate them as part of 'make test'. It shouldn't be too
hard to hook it up - a make rule that runs this:

   grep typedef include/qemu/typedefs.h > orig.txt
   sort orig.txt > sorted.txt
   diff orig.txt sorted.txt > /dev/null

as part of 'make test' would suffice

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

  reply	other threads:[~2015-11-19 13:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 12:29 [Qemu-devel] [PATCH] typedefs: Put them back into alphabetical order Markus Armbruster
2015-11-19 13:03 ` Dr. David Alan Gilbert
2015-11-19 13:10   ` Daniel P. Berrange [this message]
2015-11-19 21:29     ` Eric Blake
2015-11-24 14:40 ` Markus Armbruster
2015-11-29 10:51 ` Michael Tokarev

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=20151119131047.GF9247@redhat.com \
    --to=berrange@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org.com \
    /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 NNTP newsgroup(s).