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

Use git stashes in git workflow for better performance #724

Merged
merged 71 commits into from
Jan 19, 2020
Merged

Use git stashes in git workflow for better performance #724

merged 71 commits into from
Jan 19, 2020

Commits on Nov 14, 2019

  1. Configuration menu
    Copy the full SHA
    40a5db1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5be9cb4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    762d4d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d843d07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    76cb08f View commit details
    Browse the repository at this point in the history
  6. refactor: improvements

    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    9b101cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    128631d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    061946c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    357934f View commit details
    Browse the repository at this point in the history
  10. test: add some runAll tests

    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    bbfdbce View commit details
    Browse the repository at this point in the history
  11. test: add test for failing merge conflict resolution

    lint-staged loses the MERGE_HEAD while stashing backups, so the current behaviour breaks merge conflict resolution. Solution is to manually check, save, and restore the MERGE_HEAD during runtime. This should be fixed and the test adjusted for successful run
    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    a2b9716 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    effdb4c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2f1e886 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e68255a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cb9aaf0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b3eb3fc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    eb54a89 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    158c900 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    09e6edf View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1b9e85a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    49659ef View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2b47643 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    74fe356 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    761f984 View commit details
    Browse the repository at this point in the history
  25. test: add mock console

    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    d8f7f1d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    90da8a8 View commit details
    Browse the repository at this point in the history
  27. fix: keep untracked files around by backing them up

    Git diff completely ignores new, untracked files, but they can be read/written separately
    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    fc03fdc View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6fa9c85 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    9c33515 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1a87333 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    91ee67a View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    7b144b4 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    74ed28d View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5208399 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    d1da3fc View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    c7d0592 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    cce9809 View commit details
    Browse the repository at this point in the history
  38. fix: update warning about git add, and to README

    BREAKING CHANGE: Prior to version 10, tasks had to manually include `git add` as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detects `git add` in task configurations, it will show a warning in the console. Please remove `git add` from your configuration after upgrading.
    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    6467a66 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    bc17363 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    869bac6 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    bf532c2 View commit details
    Browse the repository at this point in the history
  42. Revert "fix: no need to run git clean -df since untracked changes a…

    …re stashed"
    
    This reverts commit 869bac6.
    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    e58ebbf View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    cfde9ca View commit details
    Browse the repository at this point in the history
  44. fix: support binary files

    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    7b3a334 View commit details
    Browse the repository at this point in the history
  45. Merge branch 'master' into beta

    iiroj committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    a33dc68 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. chore: update all dependencies

    iiroj committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    5d989ac View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2019

  1. Configuration menu
    Copy the full SHA
    5f0a807 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Configuration menu
    Copy the full SHA
    6b66cf3 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2019

  1. feat: split tasks into chunks to support shells with limited max argu…

    …ment length (#732)
    
    * feat: split tasks into chunks to support shells with limited max argument length
    
    * refactor: use a function for getting max arg lenth
    
    * refactor: simplify spreading of listrTasks into main runner tasks
    iiroj committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    cb43872 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. fix: improve debug logging

    iiroj committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    f88e226 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03ea132 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80406c2 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'refs/heads/master' into beta

    # Conflicts:
    #	bin/lint-staged
    #	src/index.js
    #	src/runAll.js
    iiroj committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    4bf94e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0eedacd View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. feat: bump Node.js version dependency to at least 10.13.0 (#747)

    BREAKING CHANGE: Node.js v8 is no longer supported because it will reach EOL on 2019-12-31
    iiroj committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    814b9df View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. fix: automatically add modifications only to originally staged files

    Using `git add .` does not work when an unrelated 3rd-party makes a file edit while lint-staged is running tasks. This change at least limits adding of modifications to those files that originally had staged changes. Unfortunately we have no way of detecting if a 3rd-party edits the same file.
    iiroj committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    083b8e7 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2019

  1. Configuration menu
    Copy the full SHA
    f3ae378 View commit details
    Browse the repository at this point in the history
  2. refactor: minor optimizations

    iiroj committed Dec 14, 2019
    Configuration menu
    Copy the full SHA
    22ba124 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. Configuration menu
    Copy the full SHA
    f8ddfc2 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Configuration menu
    Copy the full SHA
    d091f71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9913bb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b64239 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into beta

    iiroj committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    f2a2702 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. Configuration menu
    Copy the full SHA
    20d5c5d View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Configuration menu
    Copy the full SHA
    da22cf2 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2019

  1. Configuration menu
    Copy the full SHA
    30b4809 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. feat: throw error to prevent empty commits unless --allow-empty is us…

    …ed (#762)
    
    BREAKING CHANGE: Previously, lint-staged would allow empty commits in the situation where a linter task like "prettier --write" reverts all staged changes automatically. Now the default behaviour is to throw an error with a helpful warning message. The --allow empty option can be used to allow empty commits, or `allowEmpty: true` for the Node.js API.
    iiroj authored and okonet committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    8bdeec0 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. Merge branch 'master' into beta

    # Conflicts:
    #	package.json
    iiroj committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    bd3721f View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Merge branch 'master' into beta

    # Conflicts:
    #	README.md
    iiroj committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    82bee06 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Merge branch 'master' into beta

    iiroj committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    e1cd6ba View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2020

  1. Configuration menu
    Copy the full SHA
    f9e128d View commit details
    Browse the repository at this point in the history