Skip to content
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

perf: Switch from minimatch to micromatch #388

Merged
merged 1 commit into from
Feb 1, 2018
Merged

Conversation

sudo-suhas
Copy link
Collaborator

Since micromatch supports multiple filter patterns, this does the changes to filter staged files in a single pass for match and ignore patterns.

The following minimatch options are not supported in micromatch:

So the change needs to go in a major release. The next branch, which this targets for the merge, will include multiple breaking changes and these will be released in a single major release.

@sudo-suhas sudo-suhas mentioned this pull request Jan 31, 2018
Since micromatch supports multiple patterns for filtering, filter staged files in a
single pass for match and ignore patterns.

BREAKING CHANGE: The following `minimatch` options are not supported in
`micromatch`:
- `nocomment`: https://github.com/isaacs/minimatch#nocomment
- `flipnegate`: https://github.com/isaacs/minimatch#flipnegate
@codecov
Copy link

codecov bot commented Jan 31, 2018

Codecov Report

Merging #388 into next will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next     #388      +/-   ##
==========================================
- Coverage   98.13%   98.11%   -0.03%     
==========================================
  Files          10       10              
  Lines         215      212       -3     
  Branches       26       23       -3     
==========================================
- Hits          211      208       -3     
  Misses          4        4
Impacted Files Coverage Δ
src/generateTasks.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08bd89f...391b895. Read the comment docs.

@sudo-suhas sudo-suhas merged commit af596b5 into next Feb 1, 2018
@sudo-suhas sudo-suhas deleted the perf/micromatch branch February 1, 2018 02:52
sudo-suhas added a commit that referenced this pull request Feb 17, 2018
Since micromatch supports multiple patterns for filtering, filter staged files in a
single pass for match and ignore patterns.

BREAKING CHANGE: The following `minimatch` options are not supported in
`micromatch`:
- `nocomment`: https://github.com/isaacs/minimatch#nocomment
- `flipnegate`: https://github.com/isaacs/minimatch#flipnegate
sudo-suhas added a commit that referenced this pull request Feb 17, 2018
Since micromatch supports multiple patterns for filtering, filter staged files
in a single pass for match and ignore patterns.

BREAKING CHANGE: The following `minimatch` options are not supported in
`micromatch`:
- `nocomment`: https://github.com/isaacs/minimatch#nocomment
- `flipnegate`: https://github.com/isaacs/minimatch#flipnegate
sudo-suhas added a commit that referenced this pull request Feb 21, 2018
Since micromatch supports multiple patterns for filtering, filter staged files
in a single pass for match and ignore patterns.

BREAKING CHANGE: The following `minimatch` options are not supported in
`micromatch`:
- `nocomment`: https://github.com/isaacs/minimatch#nocomment
- `flipnegate`: https://github.com/isaacs/minimatch#flipnegate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants