From e3644869e0e24b39c1eac7f6f7c4c98b63c3b78f Mon Sep 17 00:00:00 2001 From: Manh Nguyen Date: Wed, 5 Aug 2020 18:25:46 +0000 Subject: [PATCH] Add a newline between commit messages Git commit message presubmit test might merge multiple commit messages together if there is no newline in between. Bug: angleproject:4923 Change-Id: I668b7d1f3c7e17d7499bf1fd2b9390d77ce70d5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2339754 Reviewed-by: Edward Lesmes Commit-Queue: Jamie Madill --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index b30cdb360..cb1334056 100755 --- a/git_cl.py +++ b/git_cl.py @@ -902,7 +902,7 @@ def _create_description_from_log(args): log_args = [args[0] + '..' + args[1]] else: log_args = args[:] # Hope for the best! - return RunGit(['log', '--pretty=format:%B'] + log_args) + return RunGit(['log', '--pretty=format:%B%n'] + log_args) class GerritChangeNotExists(Exception):