Commits

Anonymous committed 60fcddc

Look for diff -r in the middle of the potential patch.

Comments (0)

Files changed (1)

scripts/addpatchsets

         print filename,"not found"
         continue
     data = open(filename).read()
-    if not data.startswith('diff -r '):
+    if not data.startswith('diff -r ') and data.find('\ndiff -r '):
         if verbose:
             print filename, "is not a patch"
             continue