In PatchIssue, add CL description to commit message
Before this change, the commit message only contains issue number and
patchset number. Adding CL description should be more informative.
Review URL: https://codereview.chromium.org/1128473003
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295449 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index f3aa2ab..8cc37bf 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2764,7 +2764,8 @@
# If we had an issue, commit the current state and register the issue.
if not nocommit:
- RunGit(['commit', '-m', ('patch from issue %(i)s at patchset '
+ RunGit(['commit', '-m', (cl.GetDescription() + '\n\n' +
+ 'patch from issue %(i)s at patchset '
'%(p)s (http://crrev.com/%(i)s#ps%(p)s)'
% {'i': issue, 'p': patchset})])
cl = Changelist(auth_config=auth_config)