lint: check-patch-headers: Recognize Git diffs.
* guix/lint.scm (check-patch-headers): Add "diff --git " prefix.
This commit is contained in:
parent
003728cfab
commit
c5b1b48f09
@ -801,7 +801,8 @@ warnings."
|
||||
((blank? line)
|
||||
(loop))
|
||||
((or (string-prefix? "--- " line)
|
||||
(string-prefix? "+++ " line))
|
||||
(string-prefix? "+++ " line)
|
||||
(string-prefix? "diff --git " line))
|
||||
(list (make-warning package
|
||||
(G_ "~a: patch lacks comment and \
|
||||
upstream status")
|
||||
|
Loading…
Reference in New Issue
Block a user