createyourpersonalaccount wrote:

> This seems reasonable to me, but wait for the others, maybe @owenca

I'm wondering if `-0` should turn off all informational messaging as well and 
*only* print the paths. As it is, it will print things like _Running 
clang-format on the following files:_, even if a null-separated list of files 
follows.

So right now the usage would be (example)

```sh
git clang-format --staged -z | tail -n +2 | xargs -0 git add
```

but perhaps it should not print informational messages and have the usage be 
simplified:

```sh
git clang-format --staged -z | xargs -0 git add
```

https://github.com/llvm/llvm-project/pull/123926
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to