aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git/commit-msg-hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/git/commit-msg-hook.py')
-rwxr-xr-xscripts/git/commit-msg-hook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git/commit-msg-hook.py b/scripts/git/commit-msg-hook.py
index 719ff22..9c397ed 100755
--- a/scripts/git/commit-msg-hook.py
+++ b/scripts/git/commit-msg-hook.py
@@ -123,7 +123,7 @@ with open(sys.argv[1], 'r') as commit_msg:
for line in contents:
dup = line.lstrip()
- if dup.startswith('#'):
+ if dup.startswith('#') or dup.startswith("Change-Id") or dup.startswith("Signed-of-by"):
continue
if subject is True:
ret = check_subject(line)