lmi-commits
[Top][All Lists]
Advanced

[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..."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]