Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 48f6c26d4d8e7f729c5ca6c8d6951cc4ee05e226..28d7c2f6dc4f5c87130efb0356faeea671412658 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2370,7 +2370,9 @@ def PatchIssue(issue_arg, reject, nocommit, directory): |
# If we had an issue, commit the current state and register the issue. |
if not nocommit: |
- RunGit(['commit', '-m', 'patch from issue %s' % issue]) |
+ RunGit(['commit', '-m', 'patch from issue %(i)s at patchset ' |
+ '%(p)s (http://crrev.com/%(i)s#ps%(p)s)' |
+ % {'i': issue, 'p': patchset}]) |
Dirk Pranke
2014/11/14 18:00:36
Nit: stylistically, we'd put the multiline string
carlosk
2014/11/14 18:10:24
Done.
|
cl = Changelist() |
cl.SetIssue(issue) |
cl.SetPatchset(patchset) |