From 20296a78027c43ea05d4493ae429b76424b1b3e3 Mon Sep 17 00:00:00 2001 From: David Moreau-Simard Date: Mon, 6 Nov 2017 13:36:27 -0500 Subject: [PATCH] Fix URL to Change-Id in commit headers We've upgraded gerrit recently. The URL format changed slightly and that broke the Change-Id links from cgit. Use the new URL instead. Change-Id: I2a16dd10d74ede15951d7447adfc3a88fa730af2 --- modules/openstack_project/files/git/commit-filter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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