From 63f78b0f6348f4ae11c7c744818cb8195e0893a8 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 14 Jun 2011 13:32:54 +0000 Subject: [PATCH] Need to strip the config result value otherwise it contains a \n. It was broken in 88979. Someone my limited testing missed that. TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7147016 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@88987 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 7e767862a..94bf1ea76 100755 --- a/git_cl.py +++ b/git_cl.py @@ -533,7 +533,7 @@ or verify this branch is set up to track another (via the --track argument to '%s...' % (upstream_branch)]).strip() if not author: - author = RunGit(['config', 'user.email']) + author = RunGit(['config', 'user.email']).strip() change = presubmit_support.GitChange( name, description,