Received: from eggs.gnu.org ([2001:4830:134:3::10]:45129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqrs-00005m-Pr for qemu-devel@nongnu.org; Fri, 02 Dec 2016 11:39:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqro-00046w-On for qemu-devel@nongnu.org; Fri, 02 Dec 2016 11:39:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40300) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCqro-00046n-Fi for qemu-devel@nongnu.org; Fri, 02 Dec 2016 11:39:20 -0500 References: <20161202104037.5456-1-lersek@redhat.com> <8259e744-9919-bfa7-4a98-28c1fcac13c7@redhat.com> <20161202144150.GA10190@lemon> From: Eric Blake Message-ID: <1c83de6d-a648-eea1-2cdf-a060c6efc166@redhat.com> Date: Fri, 2 Dec 2016 10:39:13 -0600 MIME-Version: 1.0 In-Reply-To: <20161202144150.GA10190@lemon> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HkXRrx6NulMoOuxMj57Qur7wIBLEwhQtA" Subject: Re: [Qemu-devel] [PATCH] scripts: add "git.orderfile" for ordering diff hunks by pathname patterns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , Max Reitz Cc: "Michael S. Tsirkin" , Stefan Hajnoczi , qemu devel list , Laszlo Ersek , Gerd Hoffmann , John Snow This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HkXRrx6NulMoOuxMj57Qur7wIBLEwhQtA From: Eric Blake To: Fam Zheng , Max Reitz Cc: "Michael S. Tsirkin" , Stefan Hajnoczi , qemu devel list , Laszlo Ersek , Gerd Hoffmann , John Snow Message-ID: <1c83de6d-a648-eea1-2cdf-a060c6efc166@redhat.com> Subject: Re: [Qemu-devel] [PATCH] scripts: add "git.orderfile" for ordering diff hunks by pathname patterns References: <20161202104037.5456-1-lersek@redhat.com> <8259e744-9919-bfa7-4a98-28c1fcac13c7@redhat.com> <20161202144150.GA10190@lemon> In-Reply-To: <20161202144150.GA10190@lemon> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/02/2016 08:41 AM, Fam Zheng wrote: >>> +++ b/scripts/git.orderfile >>> @@ -0,0 +1,15 @@ >>> +*.txt >> >> We also have *.md. (OK, OK, we have a single docs/bitmaps.md, but mayb= e >> it's going to be more in the future. :-)) >=20 > Maybe just insert 'docs/*' here? I'm not sure if it works for the subdi= rs, > though. Yes, you can specify subdirs. I think the way git works is that for each line in the orderfile, it finds all matches in the set of files that have a diff, then progresses to the next line on any remaining files. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HkXRrx6NulMoOuxMj57Qur7wIBLEwhQtA 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/ iQEcBAEBCAAGBQJYQaOxAAoJEKeha0olJ0NquJEIAIeplb2Q4rWjM+MOZBSSBVhx BJuTR8nZfBzvscffslZmd8jpJoaZa3PxxZS032ueSMMbTz37vTxqujP96fmcxlNX AFp73zyO9zrTfF7lq2qbS19I8hmPnwKgZ/8lRhcimEcmVMEdi1dfaRiBPQ0yItiV 4iLo3rlW5+j7mLu70BspDb3EcXGg6ANWNToHD1qSPH3TpH3EHovH38WmLaAik6BX QjAzRw/bDr0RmMbTxc5TDd/x4vr3J8RSmwb+nU8h4jyLfeMeeicrX8OoLXAPFbee 5zAhMK9VUUyCyJ97squ+F9xmqwfH2/gIUbs9Zh8VItAXILQ+fxQSjpi385li4IE= =eHR/ -----END PGP SIGNATURE----- --HkXRrx6NulMoOuxMj57Qur7wIBLEwhQtA--