From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: .gitignore and .bzrignore files. Date: Mon, 24 Mar 2014 06:38:29 -0400 Organization: Eric Conspiracy Secret Labs Message-ID: <20140324103829.GB22737@thyrsus.com> References: <20140321200042.236863805FB@snark.thyrsus.com> <532CE0B7.3010309@cs.ucla.edu> <20140322030017.GA29313@thyrsus.com> <532D057D.9050305@cs.ucla.edu> <20140322042921.GA29817@thyrsus.com> <532DA4BB.9070301@cs.ucla.edu> <20140322184734.GA2704@thyrsus.com> <8738i8ar0v.fsf_-_@yahoo.fr> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395657512 31910 80.91.229.3 (24 Mar 2014 10:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 10:38:32 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: Nicolas Richard Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 11:38:42 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WS2HB-0004sN-Vl for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 11:38:42 +0100 Original-Received: from localhost ([::1]:35556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2HB-00031S-8b for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 06:38:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2H4-00031K-LF for emacs-devel@gnu.org; Mon, 24 Mar 2014 06:38:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS2H0-0002Kj-F0 for emacs-devel@gnu.org; Mon, 24 Mar 2014 06:38:34 -0400 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:45229 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2H0-0002Kf-BR for emacs-devel@gnu.org; Mon, 24 Mar 2014 06:38:30 -0400 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id A7E993807F4; Mon, 24 Mar 2014 06:38:29 -0400 (EDT) Content-Disposition: inline In-Reply-To: <8738i8ar0v.fsf_-_@yahoo.fr> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170906 Archived-At: Nicolas Richard : > I have one question : what goes in those ignore files=A0? I've heard so= me > people want to ignore files created during compilation, while some othe= r > don't because they compile off tree and want to know if files get added > in the tree. I don't see how not excluding (for example) .o files would help with this= . > Related to this, is the fact that bzr ignores some files automatically: > $ bzr ignore --default-rules > *.a > *.o > *.py[co] > *.so > *.sw[nop] > *~ > .#* > [#]*# > __pycache__ > bzr-orphans Thank you, that is information I did not have. > Should the .bzr->.git transition automatically add these to the > .gitignore file ? When the .gitignore is directly translated from a .bzrignore, these should be prepended in order to correctly emulate the behavior of the .bzrignore file. Paul Eggert is proposing that we not do this at all and simply drop the .bzrignore files from the history, trusting the .gitignore files already in place to pick up the slack. Shortly I will post to the list about the complications implied by variou= s ways of handling ignore files. Determining the right thing is not at all simple. --=20 Eric S. Raymond