Received: from eggs.gnu.org ([2001:4830:134:3::10]:49427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkGok-0006MO-I7 for qemu-devel@nongnu.org; Tue, 13 May 2014 13:48:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkGof-0002Hv-P0 for qemu-devel@nongnu.org; Tue, 13 May 2014 13:48:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkGof-0002Hp-HL for qemu-devel@nongnu.org; Tue, 13 May 2014 13:48:37 -0400 From: Markus Armbruster References: <1399997268-9889-1-git-send-email-ncmike@ncultra.org> Date: Tue, 13 May 2014 19:48:30 +0200 In-Reply-To: <1399997268-9889-1-git-send-email-ncmike@ncultra.org> (Mike Day's message of "Tue, 13 May 2014 12:07:48 -0400") Message-ID: <8761l9y3gx.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] qemu-img: sort block formats in help message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Day Cc: kwolf@redhat.com, cornelia.huck@de.ibm.com, qemu-devel@nongnu.org, stefanha@redhat.com, peter.maydell@linaro.org Mike Day writes: > The help message for qemu-img lists the supported block formats, of > which there are 27 as of version 2.0.50. The formats are printed in > the order of their driver's position in a linked list, which appears > random. This patch prints the formats in sorted order, making it > easier to read and to find a specific format in the list. Patch revision notes like these > [Added suggestions from Fam Zheng to declare variables > at the top of the scope in help() and to omit explicit cast for void* > opaque. > --Stefan] > > [Removed call to g_sequence_lookup because it breaks the build on > machines with glib < 2.28. > --Mike] > > Signed-off-by: Mike Day > Signed-off-by: Stefan Hajnoczi > --- ... go here, below the '---'. Furthermore, your previous patch went in already. We need an incremental patch to get rid of the dependency on non-ancient glib.