Richard Henderson <richard.hender...@linaro.org> writes:
> On 4/13/20 9:29 AM, Alex Bennée wrote: >> As out-of-tree builds become more common (or rather building in a >> subdir) we can add a lot of load to "git ls-files" as it hunts down >> sub-directories that are irrelevant to the source tree. This is >> especially annoying if you have a prompt that attempts to summarise >> the current git status on command completion. > > Not a fan. Why do we encourage putting the build directory in tree anyway? > IMO any out-of-tree build really should be OUT of tree. > > My build directories are always siblings of the source directory in the parent > directory. It's not exactly an un-common pattern - especially if you have a lot of build variants. Keeping them under builds makes it easier to blow the whole lot away rather than having a messy parent directory which you have to clean manually. Personally it also works better with my tooling which can slurp up all the build directories and present me with a menu of make commands to build from. That's not a good argument for accepting the patch though. > > > r~ -- Alex Bennée