chcon: Handle repeated flags and overrides between --no-XXX and --XXX#6039
chcon: Handle repeated flags and overrides between --no-XXX and --XXX#6039sylvestre merged 2 commits intouutils:mainfrom
Conversation
ff62bfb to
db195a7
Compare
|
Changes since last push:
|
It saves us a bunch of review time and helps with consistency across the project. Installing it locally helps a lot, because then you can just see the spelling errors before committing. |
|
I did install it locally, and it already saved me a CI cycle, but it doesn't currently run automatically on each commit. Would a PR to add it to pre-commit be welcome? (Of course, not everyone has it installed, the script / invocation would have to deal with that.) |
|
Let's open an issue for doing CI checks locally. I'm not really sold on mandatory pre-commit hooks, but I'd love to have a I might even try doing that with nix or something, so that all the tools are installed automatically. We have lots of options. |
db195a7 to
8be5f7a
Compare
|
GNU testsuite comparison: |
This PR changes and tests three things:
--no-dereferenceand--dereferencein any order, use the last occurrence.--no-preserve-rootand--preserve-rootin any order, use the last occurrence.--user.All three of these are GNU behavior bugs, i.e. GNU does it differently, and uutils wants to handle it like GNU does.
This is work towards #5998.