owenca wrote: >From #123921, it seems that you only want the new option to work with `--staged`, but should it also work with other options that may print a list of filenames? https://github.com/llvm/llvm-project/pull/123926