diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-06-18 12:02:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-06-18 14:18:06 +0200 |
commit | c5b1b48f09bb9af60aef5d48191b284d4b281a34 (patch) | |
tree | ded3cb54b1a6f2d5406d03137d5e469eb1845217 /guix | |
parent | 003728cfab907be5df1411c5faaf466a2b8d5ba2 (diff) |
lint: check-patch-headers: Recognize Git diffs.
* guix/lint.scm (check-patch-headers): Add "diff --git " prefix.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/lint.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/lint.scm b/guix/lint.scm index 8115f2aa50..d65d5ce8f9 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -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") |