Received: from eggs.gnu.org ([2001:4830:134:3::10]:42412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbBJt-00014a-RS for qemu-devel@nongnu.org; Tue, 07 Feb 2017 14:20:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbBJo-0003WD-W7 for qemu-devel@nongnu.org; Tue, 07 Feb 2017 14:20:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48674) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbBJo-0003Vo-Oj for qemu-devel@nongnu.org; Tue, 07 Feb 2017 14:20:48 -0500 References: <20161202210152.6880-1-lersek@redhat.com> From: Eric Blake Message-ID: Date: Tue, 7 Feb 2017 13:20:44 -0600 MIME-Version: 1.0 In-Reply-To: <20161202210152.6880-1-lersek@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MtIeNNHlgHeUsbharwgJHrJHRwV4ntRTt" Subject: Re: [Qemu-devel] [PATCH v2] scripts: add "git.orderfile" for ordering diff hunks by pathname patterns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , qemu devel list Cc: "Michael S. Tsirkin" , Fam Zheng , Gerd Hoffmann , John Snow , Max Reitz , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MtIeNNHlgHeUsbharwgJHrJHRwV4ntRTt From: Eric Blake To: Laszlo Ersek , qemu devel list Cc: "Michael S. Tsirkin" , Fam Zheng , Gerd Hoffmann , John Snow , Max Reitz , Stefan Hajnoczi Message-ID: Subject: Re: [PATCH v2] scripts: add "git.orderfile" for ordering diff hunks by pathname patterns References: <20161202210152.6880-1-lersek@redhat.com> In-Reply-To: <20161202210152.6880-1-lersek@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/02/2016 03:01 PM, Laszlo Ersek wrote: > When passed to git-diff (and to every other git command producing diffs= > and/or diffstats) with "-O" or "diff.orderFile", this list of patterns > will place the more declarative / abstract hunks first, while changes t= o > imperative code / details will be near the end of the patches. This sav= es > on scrolling / searching and makes for easier reviewing. >=20 > We intend to advise contributors in the Wiki to run >=20 > git config diff.orderFile scripts/git.orderfile >=20 > once, as part of their initial setup, before formatting their first (or= , > for repeat contributors, next) patches. Presumably, we'd also want this to be mentioned in HACKING? >=20 > See the "-O" option and the "diff.orderFile" configuration variable in > git-diff(1) and git-config(1). >=20 > Cc: "Michael S. Tsirkin" > Cc: Eric Blake > Cc: Fam Zheng > Cc: Gerd Hoffmann > Cc: John Snow > Cc: Max Reitz > Cc: Stefan Hajnoczi > Signed-off-by: Laszlo Ersek > --- Is it time to revive this patch? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --MtIeNNHlgHeUsbharwgJHrJHRwV4ntRTt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYmh4MAAoJEKeha0olJ0Nq6BYIAJF1lcOMwLhv3Ud7o6y/rmrI brIakvrXN4YfUP/u0eXsrxqRc5/zylsK/e+LRhLQXsa5rnrnavJH3v2vfjxfx3oe JO1lmR05CqsIbnsSNhH0nlQVHpkK1buYUFWtd9YpF7etOoc//YLOrpCaL4bjEhVG 9G1JZpD3s8tnSyoyHAdCPXvnTyRqOc21Y5S7xsXyw6Zq6JOqm+1egQDGYmDCttGg iPU2Kkz9OzD1i9vqkNys7bo202X2BdYVguQv2E+rnCepM6uzr2hyHqgJg2SHkctO LujvDgbMORZFq3pWgeR6tUBhQN5NcDpc6vU5LJz5GJ/yu9Kp14RrEw9ufphLJyQ= =V64y -----END PGP SIGNATURE----- --MtIeNNHlgHeUsbharwgJHrJHRwV4ntRTt--