[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 7aac40a 5/6: Consistently print double quotes
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 7aac40a 5/6: Consistently print double quotes around quoted lines (VZ) |
Date: |
Thu, 16 Feb 2017 14:26:58 -0500 (EST) |
branch: master
commit 7aac40ac5c0146d3ed5932e334abc64649ca8f00
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Consistently print double quotes around quoted lines (VZ)
---
hooks/commit-msg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hooks/commit-msg b/hooks/commit-msg
index 324e199..c969180 100755
--- a/hooks/commit-msg
+++ b/hooks/commit-msg
@@ -2,7 +2,7 @@
# git commit-msg hook
-# Copyright (C) 2016 Gregory W. Chicares.
+# Copyright (C) 2016, 2017 Gregory W. Chicares.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -26,7 +26,7 @@ set -e
sed_script='
1{/\.$/{s/^.*$/Do not end first line with period/p}}
2{/^$/!{s/\(^.*$\)/Second line "\1" not empty./p}}
-/.\{73\}/s/\(^.*$\)/\1 exceeds 72 characters/p
+/.\{73\}/s/\(^.*$\)/"\1" exceeds 72 characters/p
'
printf "checking commit message..."
- [lmi-commits] [lmi] master updated (bd0485e -> 85dd47f), Greg Chicares, 2017/02/16
- [lmi-commits] [lmi] master 4c16b73 1/6: Remove a duplicate test case, Greg Chicares, 2017/02/16
- [lmi-commits] [lmi] master acd3007 2/6: Improve documentation, Greg Chicares, 2017/02/16
- [lmi-commits] [lmi] master e8b3638 3/6: Remove a pointless test case, Greg Chicares, 2017/02/16
- [lmi-commits] [lmi] master b7bc4dd 4/6: Add a newline to improve readability, Greg Chicares, 2017/02/16
- [lmi-commits] [lmi] master 7aac40a 5/6: Consistently print double quotes around quoted lines (VZ),
Greg Chicares <=
- [lmi-commits] [lmi] master 85dd47f 6/6: Split a long line for readability, Greg Chicares, 2017/02/16