From: Eric Raymond Date: Sat, 10 Apr 2010 14:41:49 GMT Subject: Re: [PATCH 0/5] "status --ignored" Message-ID: <20100410144149.GA23959@thyrsus.com> In-Reply-To: <20100410084007.GA16843@coredump.intra.peff.net> Jeff King : > On Sat, Apr 10, 2010 at 12:48:49AM -0700, Junio C Hamano wrote: > > > Jeff King writes: > > > > > + dir.flags |= DIR_COLLECT_IGNORED; > > > > I thought about using collect-ignored so that fill_directory() does not > > have to be run twice, but IIRC it can short-circuit an entire directory > > using the "simplify" logic (as it was designed to be used for "git add"), > > no? > > Hmm. I didn't consider that. It may be sufficient to say "foo/ is > ignored" and let callers decide for themselves that "foo/bar" is > ignored, too (unless, of course, it appears as tracked earlier in the > list). Speaking as a front-end author, I would prefer that all ignored paths be listed so I don't have to do globbing. -- Eric S. Raymond