Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.10
Choose a base ref
...
head repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.1.0
Choose a head ref
  • 6 commits
  • 12 files changed
  • 1 contributor

Commits on Mar 30, 2020

  1. 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.
    iiroj committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    52125a9 View commit details
    Browse the repository at this point in the history
  2. 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
    iiroj committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    a653c55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f2ef33 View commit details
    Browse the repository at this point in the history
  4. feat: add --no-stash option to disable the backup stash, and not re…

    …vert in case of errors
    iiroj committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    c386e4c View commit details
    Browse the repository at this point in the history
  5. fix: do not return string from runAll, add info symbol to "No staged …

    …files found." message
    iiroj committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    1e7298a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #801 from okonet/simplify

    feat: use diff/apply only with partially staged files
    iiroj authored Mar 30, 2020
    Configuration menu
    Copy the full SHA
    8abb09f View commit details
    Browse the repository at this point in the history
Loading