Make gcl commit/git cl dcommit append a commit notification to rietveld.

R=maruel@chromium.org
BUG=163426

Review URL: https://chromiumcodereview.appspot.com/12047089

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@178975 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index aba28f6..6085aba 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1495,6 +1495,9 @@
     print ('Closing issue '
            '(you may be prompted for your codereview password)...')
     cl.CloseIssue()
+    comment = "Committed manually as r%s" % revision
+    comment += ' (presubmit successful).' if not options.bypass_hooks else '.'
+    cl.RpcServer().add_comment(cl.GetIssue(), comment)
     cl.SetIssue(0)
 
   if retcode == 0: