[TASK] Put commit hooks into Build/git-hooks directory 73/55973/2
authorSybille Peters <sypets@gmx.de>
Wed, 14 Feb 2018 09:41:20 +0000 (10:41 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 1 Mar 2018 16:58:45 +0000 (17:58 +0100)
commite4656d032830206ad9d64a7d34432cdec1db4760
treece7444bc10f413c74f6bff67466d8fca22e89df1
parent283037e41eb4d6ca1cbfd6f83f8cf1d75d51be26
[TASK] Put commit hooks into Build/git-hooks directory

* commit-msg hook: change wiki link to link to official contribution guide
* commit-msg hook: rebase with original source
* commit-msg hook: add Change-Id on last line after footer
* pre-commit hook: check if staged php files conform to coding guidelines
* Build/Scripts/cglFixMyCommit.sh: extended
  parameters to be used by new pre-commit hook

Resolves: #83891
Releases: master, 8.7, 7.6
Change-Id: I6d00aa32ef3f9517d88e90c40059c7f73d7f6cfe
Reviewed-on: https://review.typo3.org/55973
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/Scripts/cglFixMyCommit.sh
Build/git-hooks/commit-msg [new file with mode: 0755]
Build/git-hooks/unix+mac/pre-commit [new file with mode: 0755]