Jeff King <peff@xxxxxxxx> 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? Mine is not "less ugly", but just "simple and stupid" ;-). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html