From 680253d31518b5865a45be4d63bc1ed74a4f16e9 Mon Sep 17 00:00:00 2001 From: Andrii Shyshkalov Date: Wed, 15 Mar 2017 21:07:36 +0100 Subject: [PATCH] git cl description: don't bother if description diff is trailing whitespace. BUG=700239 R=iannucci@chromium.org Change-Id: Ica4567288c1cd83f72cce5d10c523270b69c36d4 Reviewed-on: https://chromium-review.googlesource.com/455739 Reviewed-by: Sergiy Byelozyorov Commit-Queue: Andrii Shyshkalov --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 342d82c11..dd11ccdad 100755 --- a/git_cl.py +++ b/git_cl.py @@ -4322,7 +4322,7 @@ def CMDdescription(parser, args): else: description.prompt() - if cl.GetDescription() != description.description: + if cl.GetDescription().strip() != description.description: cl.UpdateDescription(description.description, force=options.force) return 0