diff options
| author | Adam Vandenberg | 2014-04-11 07:31:56 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-11 07:31:56 -0700 |
| commit | 1e12706cfeadc74ef2b79a8d346b5e19f4954124 (patch) | |
| tree | d44e9922c149205d0a0dd4e0db6375bff3cfb039 /Library | |
| parent | 74ebfef336130a2c69f9a373a6a9b36c00214fd7 (diff) | |
| download | homebrew-1e12706cfeadc74ef2b79a8d346b5e19f4954124.tar.bz2 | |
audit: use .diff instead of .patch for github diffs
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 9f86577be..af6fbc2e0 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -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 |
