Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #869 +/- ##
==========================================
+ Coverage 19.20% 20.54% +1.34%
==========================================
Files 68 68
Lines 10156 10163 +7
Branches 546 552 +6
==========================================
+ Hits 1950 2088 +138
+ Misses 8206 8075 -131
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
watchonly took the command as one word, and its on/off options asked for a value:procps-ng
watchaccepts both. This change:sh -c, as procps-ng does, sowatch ls -lworks. Options after the command belong to the command. An unknown option before it is still an error.-b -c -C -e -g -p -r -t -w -xplain flags.-dtakes no value, and--differencestakes an optional=permanent.-x/--exec: the arguments are run directly instead of throughsh -c, sowatch -x printf '%s-' 'a b'printsa b-.The other flags are parsed but not acted on yet.
The 4 new tests in
tests/by-util/test_watch.rsfail onmainand pass with this change.cargo fmtandcargo clippy --all-targets -- -D warningsare clean.I used Claude Code (Opus 5.5) to help investigate and draft this change; I reproduced the bug and checked the fix myself.