Send an IM when hooks are bypassed to git cl dcommit

R=cmp@chromium.org
BUG=25940
TEST=


Review URL: http://codereview.chromium.org/9112039

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@117850 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index 759caf6..eb93403 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1094,6 +1094,11 @@
       elif 'unknown' == status:
         print ('Unable to determine tree status.  Please verify manually and '
                'use "git cl dcommit -f" to commit on a closed tree.')
+  else:
+    breakpad.SendStack(
+        'GitClHooksBypassedCommit',
+        'Issue %s/%s bypassed hook when committing' %
+        (cl.GetRietveldServer(), cl.GetIssue()))
 
   description = options.message
   if not description and cl.GetIssue():