Review 11.5 Merged

79979[TASK] Replace deprecated egrep in commit-msg hook

Benjamin Franzke CR +2 V +2 Easy +4 −4 updated 07/12/23, 08:00

Commit message

egrep is deprecated since 2.5.3 (2007) and is
marked as obsolete in grep 3.8, see
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

Also remove a stray \ before the # symbol,
which doesn't need escaping in grep.

Prevents the following warnings during the
commit-msg hook:

  egrep: warning: egrep is obsolescent; using grep -E
  egrep: warning: egrep is obsolescent; using grep -E
  egrep: warning: egrep is obsolescent; using grep -E
  grep: warning: stray \ before #
  egrep: warning: egrep is obsolescent; using grep -E

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Benjamin Franzke commented on patch set 1 07/12/23, 07:31

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/12/23, 07:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/44070

  3. Benjamin Franzke voted on patch set 1 V +2 CR +2 07/12/23, 08:00

  4. Benjamin Franzke merged patch set 2 07/12/23, 08:00