-
-
Notifications
You must be signed in to change notification settings - Fork 456
Comparing changes
Open a pull request
base repository: lint-staged/lint-staged
base: v10.0.10
head repository: lint-staged/lint-staged
compare: v10.1.0
- 6 commits
- 12 files changed
- 1 contributor
Commits on Mar 30, 2020
-
feat: only hide/restore unstaged modifications to partially staged files
This change simplifies and speeds up the git workflow by restoring the backup stash before running tasks, and only doing diff/apply to files with both staged and unstaged changes. It also means that a file with only unstaged changes will be present on disk while the tasks are running, so for example unstaged edits to eslint rules will still apply. This can be considered a fix because the behaviour changed from v9->v10, and this restores the previous behaviour.
Configuration menu - View commit details
-
Copy full SHA for 52125a9 - Browse repository at this point
Copy the full SHA 52125a9View commit details -
fix: unset GIT_LITERAL_PATHSPECS env variable before running
This makes git treat all pathspecs literally, so that for example '.' would refer to a file named only a dot
Configuration menu - View commit details
-
Copy full SHA for a653c55 - Browse repository at this point
Copy the full SHA a653c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f2ef33 - Browse repository at this point
Copy the full SHA 7f2ef33View commit details -
feat: add
--no-stashoption to disable the backup stash, and not re……vert in case of errors
Configuration menu - View commit details
-
Copy full SHA for c386e4c - Browse repository at this point
Copy the full SHA c386e4cView commit details -
fix: do not return string from runAll, add info symbol to "No staged …
…files found." message
Configuration menu - View commit details
-
Copy full SHA for 1e7298a - Browse repository at this point
Copy the full SHA 1e7298aView commit details -
Merge pull request #801 from okonet/simplify
feat: use diff/apply only with partially staged files
Configuration menu - View commit details
-
Copy full SHA for 8abb09f - Browse repository at this point
Copy the full SHA 8abb09fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v10.0.10...v10.1.0