-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ignore white space parameter --ignore-whitepsace, -W
#267
fix: ignore white space parameter --ignore-whitepsace, -W
#267
Conversation
Codecov Report
@@ Coverage Diff @@
## main #267 +/- ##
===========================================
+ Coverage 98.63% 100.00% +1.36%
===========================================
Files 22 22
Lines 585 598 +13
===========================================
+ Hits 577 598 +21
+ Misses 8 0 -8
Continue to review full report at Codecov.
|
--word-diff-regex
--ignore-whitepsace, -W
ffd81ca
to
5ef3347
Compare
Code Climate has analyzed commit 5ef3347 and detected 0 issues on this pull request. View more on Code Climate. |
What does this pull request contains
Explain your changes
Fix
--word-diff-regex
by setting it to the default git value :--word-diff-regex=|[^[:space:]]
use
git diff --numstat
with--no-renames
and--diff-filter=ADM
instead of--name-status
in order to solve the issue with-W
parameter not being applied with--name-status
Add unit test to avoid future regression
Improve test coverage
Does this close any currently open issues?
closes #262
Any particular element to being able to test locally
Use the branch issue/262 to test the fix from the reproduction playground
Any other comments?
Can be shipped in the next release
Where has this been tested?
Operating System: Darwin Kernel Version 19.6.0: Thu Jan 13 01:26:33 PST 2022; root:xnu-6153.141.51~3/RELEASE_X86_64
yarn version: 1.22.15
node version: v14.19.0
git version: 2.35.1
sfdx version: sfdx-cli/7.142.1 darwin-x64 node-v14.19.0
sgd plugin version: 5.0.2