automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FYI] {master} gitignore: more use of anchors


From: Stefano Lattarini
Subject: Re: [FYI] {master} gitignore: more use of anchors
Date: Tue, 9 Aug 2011 17:04:16 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Tuesday 09 August 2011, Eric Blake wrote:
> On 08/09/2011 08:44 AM, Stefano Lattarini wrote:
> > * .gitignore: Anchor files that are intended to be ignored only
> > if found in the same directory of the `.gitignore' file, not also
> > in its subdirectories.
> > * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
> > lib/Automake/tests/.gitignore, tests/.gitignore: Likewise.  Also,
> > where needed, add new entries that were once implied by the
> > non-anchored entries in the upper-level `.gitignore' files.
> 
> While it is up to Ralf, I personally prefer a single .gitignore file for 
> the entire tree.
>
FWIW, I slightly prefer that too.  Now I'm in the middle of cleaning up
the testuite on Solaris, but once that is done I might prepare a patch
for the conversion to a single top-level `.gitignore' file.  Unless
somebody wants to beat me at it, of course ;-)

> You can have anchored paths for everything at the top 
> level, rather than a .gitignore per directory:
> 
> > +++ b/doc/.gitignore
> > @@ -1,27 +1,27 @@
> > -amhello-*.tar.gz
> 
> For example, in the top level, this would be:
> 
> /doc/amhello-*.tar.gz
> 
 
Regards,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]