diff: resurrect XDF_NEED_MINIMAL with --minimal