{"thread":{"id":"1337","subject":"Fwd: Re: [RFC] extending git-ls-files --exclude.","startedAt":"2005-07-25T21:39:33Z","lastAt":"2005-07-25T21:39:33Z","messageCount":1,"participants":["Marco Costalba"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"6442","messageId":"20050725213933.34939.qmail@web26308.mail.ukl.yahoo.com","threadId":"1337","inReplyTo":null,"subject":"Fwd: Re: [RFC] extending git-ls-files --exclude.","fromName":"Marco Costalba","fromEmail":"mcostalba@yahoo.it","sentAt":"2005-07-25T21:39:33Z","receivedAt":"2005-07-25T21:39:33Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"\n\n--- Marco Costalba <mcostalba@yahoo.it> wrote:\n\n> Date: Mon, 25 Jul 2005 14:34:56 -0700 (PDT)\n> From: Marco Costalba <mcostalba@yahoo.it>\n> Subject: Re: [RFC] extending git-ls-files --exclude.\n> To: Junio C Hamano <junkio@cox.net>\n> CC: Linus Torvalds <torvalds@osdl.org>, \n>     Catalin Marinas <catalin.marinas@gmail.com>, Petr Baudis <pasky@suse.cz>\n> \n> Junio C Hamano wrote:\n> \n> >Linus Torvalds <torvalds@osdl.org> writes:\n> >\n> >>On Mon, 25 Jul 2005, Junio C Hamano wrote:\n> >>\n> >I imagined it, but it appears to me that this is a bad example.\n> >My understanding of what Catalin and the proposed patch\n> >disagrees is whether the patterns in .gitignore at the top level\n> >should govern files under ppc/ and mozilla-sha1/ subdirectories;\n> >Catalin thinks they should not.\n> >\n> >What I meant by \"cumulative\" (now I realize I might have\n> >misunderstood what Pasky wanted to mean by that word, though)\n> >was not just .gitignore in subdirectory being added, but the\n> >effect of patterns being added so far, either from the command\n> >line or by parent directories, last while in the deeper\n> >directories.\n> >\n> \n> This cumulative effect brakes local scoping of .gitignore files in \n> corresponding subdirectory.\n> \n> As example in a directory A we can have a .gitignore file with\n> \n> !foo.html\n> *.html\n> \n> because we want to special case 'that' foo.html \n> in 'that' directory.\n> \n> If for any reason in any of part of subdirectories tree\n> with base A there is (or there will be in the future) another\n>  foo.html this will be automatically special cased because\n>  of cumulative adding of patterns.\n> \n> This can be powerful and flexible but also prone to errors. \n> \n> Peraphs can be better to use just one file with global scope\n> (as example .git/exclude) and all the others .gitignore files\n> with scope local to their directory.\n> \n> \n> Marco\n> \n> \n> \n> \n> \n> \n> \n> \t\t\n> ____________________________________________________\n> Start your day with Yahoo! - make it your home page \n> http://www.yahoo.com/r/hs \n>  \n> \n\n\n\n\t\t\n____________________________________________________\nStart your day with Yahoo! - make it your home page \nhttp://www.yahoo.com/r/hs \n \n"}]}