Re-apply GIT_COMMIT_ID check for checkpatch
authorJohn Tsichritzis <john.tsichritzis@arm.com>
Fri, 12 Jul 2019 09:55:14 +0000 (10:55 +0100)
committerJohn Tsichritzis <john.tsichritzis@arm.com>
Fri, 12 Jul 2019 10:06:24 +0000 (11:06 +0100)
As it turns out, Gerrit's merge commits don't always respect that format
so these mistakes have to be ignored as false positives.

Change-Id: I4e38d9c34c95588e7916fba4c154f017d8c92dec
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
.checkpatch.conf

index 8b6c70edac3c33366acb165c046daf1a39e87546..baa983dc9d0ef7efb84cdd9383691ae588d863b1 100644 (file)
 # Commit messages might contain a Gerrit Change-Id.
 --ignore GERRIT_CHANGE_ID
 
+# Do not check the format of commit messages, as Gerrit's merge commits do not
+# preserve it.
+--ignore GIT_COMMIT_ID
+
 # FILE_PATH_CHANGES reports this kind of message:
 # "added, moved or deleted file(s), does MAINTAINERS need updating?"
 # We do not use this MAINTAINERS file process in TF.