[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: lint: check-patch-headers: Recognize Git diffs.
From: |
guix-commits |
Subject: |
03/12: lint: check-patch-headers: Recognize Git diffs. |
Date: |
Fri, 18 Jun 2021 08:25:50 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c5b1b48f09bb9af60aef5d48191b284d4b281a34
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jun 18 12:02:12 2021 +0200
lint: check-patch-headers: Recognize Git diffs.
* guix/lint.scm (check-patch-headers): Add "diff --git " prefix.
---
guix/lint.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/lint.scm b/guix/lint.scm
index 8115f2a..d65d5ce 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")
- branch master updated (bccf2a9 -> 2ef71b6), guix-commits, 2021/06/18
- 03/12: lint: check-patch-headers: Recognize Git diffs.,
guix-commits <=
- 01/12: import: launchpad: Gracefully handle 404s from api.launchpad.net., guix-commits, 2021/06/18
- 04/12: profiles: Add 'load-profile'., guix-commits, 2021/06/18
- 05/12: profiles: Add "XAUTHORITY" to the precious variables., guix-commits, 2021/06/18
- 02/12: build: Remove Guile 2.2 workaround., guix-commits, 2021/06/18
- 08/12: doc: Explain more reasons for commit revocation., guix-commits, 2021/06/18
- 11/12: gnu: xdg-desktop-portal: Update to 1.8.1 and honor XDG_DESKTOP_PORTAL_DIR., guix-commits, 2021/06/18
- 06/12: doc: Structure the "Commit Access" section., guix-commits, 2021/06/18
- 07/12: doc: Add "Addressing Issues" section., guix-commits, 2021/06/18
- 09/12: doc: Clarify Git commit signing; fix typo., guix-commits, 2021/06/18
- 10/12: gnu: pipewire: Update to 0.3.29., guix-commits, 2021/06/18