Linus Torvalds <[EMAIL PROTECTED]> writes: > On Mon, 25 Jul 2005, Junio C Hamano wrote: >> >> I personally do not have preference either way, but am slightly >> biased towards the "cumulative" behaviour the patch attempts to >> implement, which was what Pasky said he wanted to have. > > I think that makes sense. > > Imagine, for example, that you have separate subdirectory structures for > Documentation and for source - maybe you'd put the "*.o" rule in the > source directory, and a "*.1" rule in the Docs subdirectory.
I imagined it, but it appears to me that this is a bad example. My understanding of what Catalin and the proposed patch disagrees is whether the patterns in .gitignore at the top level should govern files under ppc/ and mozilla-sha1/ subdirectories; Catalin thinks they should not. What I meant by "cumulative" (now I realize I might have misunderstood what Pasky wanted to mean by that word, though) was not just .gitignore in subdirectory being added, but the effect of patterns being added so far, either from the command line or by parent directories, last while in the deeper directories. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html