diff --git a/modules/openstack_project/files/git/commit-filter.sh b/modules/openstack_project/files/git/commit-filter.sh index 1654f24dbf..936ad68796 100644 --- a/modules/openstack_project/files/git/commit-filter.sh +++ b/modules/openstack_project/files/git/commit-filter.sh @@ -1,7 +1,7 @@ #!/bin/sh sed -re ' -s`(I[0-9a-f]{8,40})`\0`g +s`(I[0-9a-f]{8,40})`\0`g s`\b([0-9a-fA-F]{8,40})\b`\0`g s`(\b[Bb]ug\b|\b[Ll][Pp]\b)[ \t#:]*([0-9]+)`\0`g s`(\b[Ss]tory\b)[ \t#:]*([0-9]+)`\0`g