Index: presubmit_support.py |
diff --git a/presubmit_support.py b/presubmit_support.py |
index 0efaca1c8dea2dff36bdea85e50857992f783b33..b2a94bc24b9b6f53a453cc98c4ede8295104a198 100755 |
--- a/presubmit_support.py |
+++ b/presubmit_support.py |
@@ -216,6 +216,9 @@ class InputApi(object): |
# SCM (can happen in dual SCM configuration). (Slightly over aggressive) |
r"(|.*[\\\/])\.git[\\\/].*", |
r"(|.*[\\\/])\.svn[\\\/].*", |
+ # There is no point in processing a patch file. |
+ r".+\.diff$", |
+ r".+\.patch$", |
) |
def __init__(self, change, presubmit_path, is_committing, |