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

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1