← 输入框|github.com|刷新
Skip to content

Releases: dirk/quickhook

v1.6.3

Choose a tag to compare

@github-actions github-actions released this 22 Aug 18:13
4340e53

What's Changed

  • Make it easier to work with refs and versions when preparing for release by @dirk in #18
  • Split unit and integration coverage builds by @dirk in #19
  • Allow Git read commands in parallel hooks by @dirk in #21
  • fix typo: color → colon by @tmtmtmtm in #22
  • Add example coverage for tracing by @dirk in #23
  • Permit git grep in pre-commit shim by @dirk in #24
  • Update Go version and dependencies by @dirk in #25
  • Update dependencies by @dirk in #26
  • fix: fix shim return status (return gits) by @saveman71 in #28
  • Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot[bot] in #29
  • Add 'go get -tool' installation method by @SergeAx in #31
  • Permit git cat-file in pre-commit shim by @saveman71 in #33
  • Release darwin binaries and tarballs by @jeremy in #35

New Contributors

Full Changelog: v1.6.0...v1.6.3

v1.6.2

Choose a tag to compare

@dirk dirk released this 10 Feb 19:31
f783077

grep has been added to the list of read commands allowed by the pre-commit hook's Git shim.

v1.6.1

Choose a tag to compare

@dirk dirk released this 17 Sep 06:31
  • The Git shim in the pre-commit hook now allows the following read commands through to Git:
    • diff
    • ls-files
    • rev-list
    • rev-parse
    • show
    • status

v1.6.0

Choose a tag to compare

@dirk dirk released this 11 Apr 03:58
  • Parallelize pre-commit setup to reduce time before it starts executing hooks.
  • Enable tracing by setting the QUICKHOOK_TRACE=1 environment variable or passing the --trace command line argument.

v1.5.0

Choose a tag to compare

@dirk dirk released this 10 Apr 21:03
  • pre-commit hooks now have git shimmed to discourage stateful actions during parallel execution.
  • pre-commit-mutating hooks are now available: they will be executed sequentially before regular pre-commit hooks and are permitted to mutate state.
  • Switched to Kong for command line parsing.
  • Switched from RSpec to native Go tests.

v1.0.0

Choose a tag to compare

@dirk dirk released this 09 Sep 22:55
  • Made pre-commit not crash when handling deleted files.
  • Colorized output (on by default, pass --no-color or set either the QUICKHOOK_NO_COLOR or NO_COLOR environment variable to not colorize output).
  • Added commit-msg hook (non-parallel) with the same calling semantics as Git hooks (called with a single argument containing the path to the temporary file holding the message to be committed).
  • Switched from bats to RSpec for testing.

v0.1.1

Choose a tag to compare

@dirk dirk released this 31 Aug 07:19
  • Set up Travis CI.

v0.1.0

Choose a tag to compare

@dirk dirk released this 31 Aug 07:16
  • Fetch files staged for commit from Git.
  • Scan for pre-commit hooks to execute.
  • Execute and report on pre-commit hooks.