From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jYyQ0-000154-KT for mharc-grub-devel@gnu.org; Wed, 13 May 2020 16:55:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYyPy-00013x-TI for grub-devel@gnu.org; Wed, 13 May 2020 16:55:55 -0400 Received: from mailout03.mx.bawue.net ([193.7.176.64]:43253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYyPw-0002fY-O9 for grub-devel@gnu.org; Wed, 13 May 2020 16:55:54 -0400 Received: from n-dimensional.de (p5B17584C.dip0.t-ipconnect.de [91.23.88.76]) (Authenticated sender: pdim@bawue.de) by smtp.bawue.net (Postfix) with ESMTPSA id 21B0C2047B for ; Wed, 13 May 2020 22:55:14 +0200 (CEST) Date: Wed, 13 May 2020 22:55:10 +0200 From: Hans Ulrich Niedermann To: grub-devel@gnu.org Subject: Re: [MULTIBOOT2 SPEC PATCH v3 2/4] multiboot2: Use .gitignore files Message-ID: <20200513225510.169ff545@n-dimensional.de> In-Reply-To: <20200513162111.dzvtob4jpsvk2tdu@tomti.i.net-space.pl> References: <20200508045049.397997-1-hun@n-dimensional.de> <20200508045049.397997-3-hun@n-dimensional.de> <20200513162111.dzvtob4jpsvk2tdu@tomti.i.net-space.pl> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanner: SAV Dynamic Interface 2.6.0, Engine: 3.77.1, SAV: 5.75 (A60C780) on relay01.mx.bawue.net using milter-sssp 0.1.0 X-Virus-Scan: Found to be clean. Received-SPF: pass client-ip=193.7.176.64; envelope-from=hun@n-dimensional.de; helo=mailout03.mx.bawue.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/13 16:55:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 20:55:55 -0000 On Wed, 13 May 2020 18:21:11 +0200 Daniel Kiper wrote: > On Fri, May 08, 2020 at 06:50:47AM +0200, Hans Ulrich Niedermann > wrote: [... lots of gitignore stuff again ... ] > > +/doc/mdate-sh > > +/doc/texinfo.tex > > +/install-sh > > +/INSTALL > > +/missing > > + > > +# Generated by "configure" > > +Makefile > > +.deps/ > > Slash, "/", prefix? Trailing slash just means "match directory" as opposed to "match file or directory", so ".deps/" matches every directory named ".deps", while the ".deps" pattern also matches files called ".deps". I'd rather such a file showed up in "git status" so such a weird thing would be noticed. The leading slash to match only relative to the .gitignore file's directory is only implied with slashes somewhere within the pattern, e.g. "doc/texinfo.tex" and "/doc/textinfo.tex" have the identical meaning. > > + > > +/config.h > > +/config.log > > +/config.status > > +/stamp-h1 > > + > > +# Generated by "make" > > +/doc/*.c.texi > > +/doc/*.h.texi > > +/doc/*.S.texi > > +/doc/multiboot.info* > > +/doc/stamp-vti > > +/doc/version.texi > > + > > +*.o > > Could you be more consistent and list prefixed and not prefixed > variants in the same order in each section? Good point. Uli