core-validate-commit icon indicating copy to clipboard operation
core-validate-commit copied to clipboard

package: add git hook instructions

Open srl295 opened this issue 8 years ago • 0 comments

Add instructions and a hook to call core-validate-commit from git commits.

Depends on https://github.com/evanlucas/core-validate-commit/pull/11

Known issues:

  • leaves ${TMPF} around (temporary file)
  • probably will reject fixup: type commit logs
  • may be too strict if someone is just doing a simple 'work in progress' kind of local branch

Larger improvement:

  • fold the entire hook script into a mode, and/or an alternate script entrypoint into core-validate-commit. This would drop requirements on sh, sed, grep…

Fixes: https://github.com/evanlucas/core-validate-commit/issues/12

srl295 avatar Oct 27 '16 20:10 srl295