Received: from eggs.gnu.org ([2001:4830:134:3::10]:53185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCksL-0002a0-L8 for qemu-devel@nongnu.org; Fri, 02 Dec 2016 05:15:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCksG-00086l-OD for qemu-devel@nongnu.org; Fri, 02 Dec 2016 05:15:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53778) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCksG-000865-Hz for qemu-devel@nongnu.org; Fri, 02 Dec 2016 05:15:24 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 87F3CC05091E for ; Fri, 2 Dec 2016 10:15:23 +0000 (UTC) References: <9151aa4b-44ed-ee0f-4dac-581931b3e899@redhat.com> <1480503358.20354.23.camel@redhat.com> <0a6692f7-d2d3-2902-d5f0-77035c90a6cb@redhat.com> <20161130122703.GD27283@lemon> From: Laszlo Ersek Message-ID: <9c888763-9622-d758-18b1-e252b28888c4@redhat.com> Date: Fri, 2 Dec 2016 11:15:21 +0100 MIME-Version: 1.0 In-Reply-To: <20161130122703.GD27283@lemon> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] a suggestion to place *.c hunks last in patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Gerd Hoffmann , qemu devel list On 11/30/16 13:27, Fam Zheng wrote: > On Wed, 11/30 13:03, Laszlo Ersek wrote: >> On 11/30/16 11:55, Gerd Hoffmann wrote: >>> On Mi, 2016-11-30 at 11:08 +0100, Laszlo Ersek wrote: >>>> Recent git releases support the diff.orderFile permanent setting. >>> >>> Cool. >>> >>>> configure >>>> *Makefile* >>>> *.json >>>> *.txt >>>> *.h >>>> *.c >>> >>> I'd put *.txt to the head so doc updates come first. >> >> Good idea, yes. >> >>> Otherwise the order looks good to me. >>> >>> Want sent a patch? >> >> What file for? :) > > This is a nice feature, thanks! > > Does it make sense to have a .gitpublish file (for Stefan's git-publish script) > in QEMU.git? Sorry, I didn't mean to ignore this -- I just don't use git-publish, so I can't comment. Thanks Laszlo > That way we can add a new profile option to git-publish and let it > build the command line accordingly. This is going to be helpful for those who > already use git-publish. > >> >> I've considered modifying >> , but that article is >> humongous already. > > And this sounds good too. > > Fam > >> >> Nonetheless, section "Make code motion patches easy to review" mentions >> some diff.* settings, so I guess a new section after it ("Format >> declarative and abstract changes near the top") would be appropriate, if >> there's no disagreement. >> >>> Can this be automatically enabled per repo, like .gitignore, so it works >>> without everybody tweaking its local git config? >> >> Not to my understanding. >> >> Thanks! >> Laszlo >> >>