Improve placement of Change-Id line
...so that it is not added to a block of lines from the original commit message
that happen to start with letters followed by a colon but then not followed by a
space, as happened for 9e73f972b0
.
Change-Id: I388c194645a1577e5446891f508b31f761d1bbbf
This commit is contained in:
parent
28d8b54c14
commit
ebdfaefc87
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ add_ChangeId() {
|
|||
for($line = @message - 1; $line >= 0; $line--) {
|
||||
$_ = $message[$line];
|
||||
|
||||
if (/^[a-zA-Z0-9-]+:/ && !m,^[a-z0-9-]+://,) {
|
||||
if (/^[a-zA-Z0-9-]+: /) {
|
||||
$haveFooter++;
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue