Received: from eggs.gnu.org ([208.118.235.92]:53512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDTvR-0003jX-Ia for qemu-devel@nongnu.org; Mon, 17 Sep 2012 01:31:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDTvQ-0002IO-8U for qemu-devel@nongnu.org; Mon, 17 Sep 2012 01:31:17 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:59661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDTvQ-0002G1-24 for qemu-devel@nongnu.org; Mon, 17 Sep 2012 01:31:16 -0400 Message-ID: <5056B5A0.3060806@weilnetz.de> Date: Mon, 17 Sep 2012 07:31:12 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1347826267-5214-1-git-send-email-vapier@gentoo.org> <5056378B.30403@weilnetz.de> <201209161655.23644.vapier@gentoo.org> In-Reply-To: <201209161655.23644.vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ignore more generated files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Frysinger Cc: qemu-devel@nongnu.org Am 16.09.2012 22:55, schrieb Mike Frysinger: > On Sunday 16 September 2012 16:33:15 Stefan Weil wrote: >> Am 16.09.2012 22:11, schrieb Mike Frysinger: >>> +libcacard/vscclient >>> +a.out* >>> +.gdb_history >>> +core >>> +gmon.out >>> +*.diff >>> +*.patch >>> +*.rej >> IMHO .gitignore should only contain files which are generated >> by a normal QEMU build. >> >> a.out*, .gdb_history, core, *.diff, *patch, *.rej are not QEMU specific >> and should be ignored in the user's GIT configuration. > these files show up a lot when doing development on qemu, hence i think they do > make sense to be listed here. it also makes things "just work" for all users > rather than requiring every one to set up their local system in the same way. > plus, that would conflict with repos that do want to merge these types of files > (uncommon, but not unheard of as test inputs). > > it's not like entries in this file "cost" anything at all. > -mike Yes, these files show up when doing development, but not only on QEMU. They are not at all QEMU specific. I assume that most developers also have other projects which they work on, so IMHO ignoring those files in their user settings makes more sense. I personally would prefer to see *.rej files. Your patch ignores them (which is not what I want). Therefore the claim that those entries make thinks "just work" for all users is not true: it's at least all users minus one. See more in a previous mail on the same subject: http://lists.gnu.org/archive/html/qemu-devel/2011-02/msg03017.html (there was also another discussion thread which I did not find any more). You can also have a look at other project's .gitignore. Linux' .gitignore for example looks much better than QEMU's. It has comments (good!) and only very few entries which are not generated files. - Stefan