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 <ehmaldonado@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/git_cl.py b/git_cl.py
index b30cdb3..cb13340 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -902,7 +902,7 @@
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):