tools: Skip over commit body checks.

Cherry-pick the part of 507dd98a58 that skips over commit body checks
since they might contain extra newlines due to appending "(cherry picked
from commit xxx)".
This commit is contained in:
Gerald Combs 2020-09-15 11:08:48 -07:00
parent de81bd705a
commit 24450d9c51
1 changed files with 3 additions and 2 deletions

View File

@ -232,8 +232,9 @@ def main():
if exit_code:
print_git_user_instructions()
if not verify_body(body):
exit_code = 1
# Cherry-picking might add extra newlines, so skip this for now.
# if not verify_body(body):
# exit_code = 1
if not verify_merge_request():
exit_code = 1