From: Paolo Bonzini Subject: Re: [PATCH kvm-unit-tests v2] Add git-diff orderFile Date: Thu, 12 Jan 2017 13:16:17 +0100 Message-ID: <27709de9-d143-3fe4-9a5d-2f131ade98b9@redhat.com> References: <20161212140853.5061-1-drjones@redhat.com> <20161213160607.GB9488@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org, lvivier@redhat.com, thuth@redhat.com To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Andrew Jones Return-path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:35037 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbdALMRQ (ORCPT ); Thu, 12 Jan 2017 07:17:16 -0500 Received: by mail-wm0-f66.google.com with SMTP id l2so3281064wml.2 for ; Thu, 12 Jan 2017 04:16:19 -0800 (PST) In-Reply-To: <20161213160607.GB9488@potion> Sender: kvm-owner@vger.kernel.org List-ID: On 13/12/2016 17:06, Radim Krčmář wrote: > 2016-12-12 15:08+0100, Andrew Jones: >> It's helpful to have a common order of file types in patches. >> Applying git-diff's orderFile feature allows us to do that. Just >> do 'git config diff.orderFile scripts/git.difforder' to enable it. >> >> Signed-off-by: Andrew Jones >> --- >> v2 changed the file name and forces common (lib/) before unit >> test code. Rearranged some other stuff too; now the approach >> is docs, running, building, common-lib/arch-lib (can't force >> common-lib to be first), unit-test, unittests.cfg, and, as >> much as possible, helpers before users and headers before code. > > Acked-by: Radim Krčmář > > (While burning the pile of review notes I prepared for v2 through v9; > v9 would ask for a checkpatch script to verify the order. ;]) > Applied, thanks. Paolo