[TYPO3-core] Error in git hook (commit-msg) file
Simon Schaufelberger (Schaufi)
simonschaufi at guugelmail.de
Thu Feb 19 00:48:28 CET 2015
https://typo3.org/fileadmin/resources/git/commit-msg.txt
from
http://wiki.typo3.org/Contribution_Walkthrough_with_CommandLine#Setting_up_your_environment
this line has a bug:
if ! egrep -q '^Releases: (master|[0-9]\.[0-9])(,
*(master|[0-9]\.[0-9]))*$' "$MSG"; then
it does not consider Releases like 1.10 or 1.1.1
this is my proposed changed line:
if ! egrep -q '^Releases: (master|[0-9]+\.[0-9]+(\.[0-9]+))(,
*(master|[0-9]+\.[0-9]+(\.[0-9]+)))*$' "$MSG"; then
can somebody please change that who has write access to this file? Thanx!
--
Regards, Schaufi
More information about the TYPO3-team-core
mailing list