Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: git_cl.py

Issue 7147016: Need to strip the config result value otherwise it contains a \n. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 7e767862acd648b6155018e0acb0de501e779019..94bf1ea766bb913368e022e2ed590bab09812196 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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698