Skip to content
Snippets Groups Projects
Commit 7fe9413c authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

audit: use .diff instead of .patch for github diffs

parent 513a1f2e
No related branches found
No related tags found
No related merge requests found
......@@ -311,6 +311,8 @@ class FormulaAuditor
end
when %r[macports/trunk]
problem "MacPorts patches should specify a revision instead of trunk:\n#{patch.url}"
when %r[^https?://github\.com/.*commit.*\.patch$]
problem "GitHub appends a git version to patches; use .diff instead."
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment