Received: from eggs.gnu.org ([2001:4830:134:3::10]:51978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw67j-0003rU-Ay for qemu-devel@nongnu.org; Tue, 10 Nov 2015 05:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw67f-0003KM-98 for qemu-devel@nongnu.org; Tue, 10 Nov 2015 05:25:59 -0500 Date: Tue, 10 Nov 2015 11:25:44 +0100 From: Kevin Wolf Message-ID: <20151110102544.GB4163@noname.redhat.com> References: <1446663467-22485-1-git-send-email-mreitz@redhat.com> <1446663467-22485-5-git-send-email-mreitz@redhat.com> <20151109160432.GF3621@noname.redhat.com> <5640E344.4050406@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <5640E344.4050406@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 04/15] iotests: Move _filter_nbd into common.filter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Alberto Garcia , qemu-block@nongnu.org, qemu-devel@nongnu.org, Markus Armbruster , Stefan Hajnoczi , Paolo Bonzini --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 09.11.2015 um 19:17 hat Max Reitz geschrieben: > On 09.11.2015 17:04, Kevin Wolf wrote: > > Am 04.11.2015 um 19:57 hat Max Reitz geschrieben: > >> _filter_nbd can be useful for other NBD tests, too, therefore it should > >> reside in common.filter, and it should support URLs of the "nbd://" > >> format and export names. > >> > >> The NBD log lines ("/your/source/dir/nbd.c:function():line: error") > >> should not be converted to empty lines but removed altogether. > >> > >> Signed-off-by: Max Reitz > >=20 > > Code motion and modification in the same patch is bad style. The changes > > look good, though. >=20 > Considering splitting this into two patches will result basically in > both of them each changing just as much as this single patch does > (because test 083 uses tabs instead of spaces) I'm inclined to just > change the commit title to "Remove filter_nbd and add _filter_nbd" instea= d. You're confusing "changing much" with "touching many lines". What I'm asking is to split this in two: One mostly mechanical patch that doesn't change semantics, and one patch for the functional change. This makes it much easier to spot the functional changes that are actually made. For example, whitespace changes during code motion are not a problem at all. I use git show -w routinely to review those. I can also cope with other minor things like style changes during code motion. The hard part during review is just finding the 10% of actual functional change in the middle of the 90% that change nothing semantically, especially if multiple hunks are involved in the functional change. Kevin --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJWQcYoAAoJEH8JsnLIjy/WjKsP/150HAfCQyeIFzJJteAQKqhH tdlwxwM8dW0+sN94gsDdCu47lqMMnR+7JlEotg81J0IT5HXqYHZ8zSVT3RtBO2rg pO5wnFBeHGtMltSRdX7dr+XUNXmKIefuOX/8t0ZzdOAwUIoZwSTPCfBXh3X6BbEH NneIXlmvVQPRVmgIxNUMcgg67HCCoBZoOGVzDlGumEivPa63XzekTvY6SGdInvcl xilA8mN2OdQAWOxxZMMsx8vBk3+d6SeZULRZX/mhQ8pdALh/YE+kQc91UfD8rPTi IWLmECxoXQgBqR/g+TRgFqaHlBunG/d57urkZKHbmVO8sqcYfaSAZK2hBFghT9VH Ify54A64ePTz2J2HElGujUtcBniAQPNmg2tDHxYPBZr0s5BqUEY7NjTlacJuGPI4 XkNxnfoaxo5nNyaIMd7ieeQiAWFfvR9tBx/mdeBf+qcH/g34Xq/eNApeyXWrv2Mu SzxxImxXQMCTSzGRkzVd9zXBa/juSEY9epzp5VVzWlvlHhY4fZj4R33l2JX/KFjd gBylm+E9ZY8PuHVyGuC6PzbedQKNCZzBQwxPzaBoQtkdvaDd644m1jkM1cDqnKdY v4nW4w7SqIkfzWXEwWXN0HyAyaUSH6Cc2fDfSo5iYvThBpRMD8YHI/LFtaEgl5+v 3/EVG1YW7TiZ2/Qd3sie =vQRU -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--