{"thread":{"id":"5223","subject":"[PATCH] Fix regex pattern in commit-msg","startedAt":"2006-08-13T07:34:37Z","lastAt":"2006-08-13T07:34:37Z","messageCount":1,"participants":["Luben Tuikov"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"25177","messageId":"20060813073437.1889.qmail@web31805.mail.mud.yahoo.com","threadId":"5223","inReplyTo":null,"subject":"[PATCH] Fix regex pattern in commit-msg","fromName":"Luben Tuikov","fromEmail":"ltuikov@yahoo.com","sentAt":"2006-08-13T07:34:37Z","receivedAt":"2006-08-13T07:34:37Z","isPatch":true,"sender":{"key":"ltuikov@yahoo.com","avatar":null},"body":"Between the count and the line output, some\nuniq(1) versions put a TAB character, not a space.\nMake sure both are handled.\n\nSigned-off-by: Luben Tuikov <ltuikov@yahoo.com>\n---\n templates/hooks--commit-msg |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/templates/hooks--commit-msg b/templates/hooks--commit-msg\nindex 643822d..23617f3 100644\n--- a/templates/hooks--commit-msg\n+++ b/templates/hooks--commit-msg\n@@ -11,4 +11,4 @@ # To enable this hook, make this file ex\n # This example catches duplicate Signed-off-by lines.\n \n test \"\" = \"$(grep '^Signed-off-by: ' \"$1\" |\n-\t sort | uniq -c | sed -e '/^[ \t]*1 /d')\"\n+\t sort | uniq -c | sed -e '/^[ \t]*1[ \t]/d')\"\n-- \n1.4.2.rc3.gb9227\n"}]}