summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnotmuch-extract-patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-extract-patch b/notmuch-extract-patch
index 7ccf4bd..df87a6c 100755
--- a/notmuch-extract-patch
+++ b/notmuch-extract-patch
@@ -45,7 +45,8 @@ def is_git_patch(msg):
# we want to skip cover letters, hence why we look for @@
body = get_body(msg)
match = re.search(r'''\n@@ [0-9 +,-]+ @@''', body)
- return ("git-send-email" in msg['x-mailer'] and match)
+ # return ("git-send-email" in msg['x-mailer'] and match)
+ return match
def main():
query = sys.argv[1:]