From 77463bb18852c4bdb89e4cc7d67dfad83b0369f7 Mon Sep 17 00:00:00 2001 From: Manh Nguyen Date: Thu, 11 Jun 2020 17:26:12 +0000 Subject: [PATCH] Preserve raw commit message Commit messages are now sent to input_api in the exact format that user has used Bug: angleproject:4714 Change-Id: I30592aec75d57618f5c028bb63a18f95239976e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2239039 Reviewed-by: Edward Lesmes Commit-Queue: Manh Nguyen --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 612d4f94d4..fe92b2cc31 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:%s%n%n%b'] + log_args) + return RunGit(['log', '--pretty=format:%B'] + log_args) class GerritChangeNotExists(Exception):