Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index f99f5e99a269bcaafa9b1bae48a65941e9fdea5f..bad7c57ac83b666c04e8c59d49add3575fd173d2 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2545,8 +2545,10 @@ def SendUpstream(parser, args, cmd): |
commit_desc = ChangeDescription(change_desc.description) |
if cl.GetIssue(): |
# Xcode won't linkify this URL unless there is a non-whitespace character |
- # after it. Add a period on a new line to circumvent this. |
- commit_desc.append_footer('Review URL: %s.' % cl.GetIssueURL()) |
+ # after it. Add a period on a new line to circumvent this. Also add a space |
+ # before the period to make sure that Gitiles continues to correctly resolve |
+ # the URL. |
+ commit_desc.append_footer('Review URL: %s .' % cl.GetIssueURL()) |
if options.contributor: |
commit_desc.append_footer('Patch from %s.' % options.contributor) |