From 86d1f6c1c0171f69dd9527b9dad673a0549d0cf5 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date: Tue, 2 Apr 2013 14:45:25 +0200
Subject: [PATCH] spelling errors are meant to be -1 only

the priority argument is not the gerrit score, not even inverted ...

Change-Id: Iec9081449bc9113715b68d2f7268939f6b568fef
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
---
 git-hooks/sanitize-commit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit
index f6c9e32..19300dd 100755
--- a/git-hooks/sanitize-commit
+++ b/git-hooks/sanitize-commit
@@ -120,7 +120,7 @@ sub complain_spelling
 
     foreach my $line (@lines) {
         foreach my $error (@{$errors->{$line}}) {
-            &complain("$line: possible spelling error: $error", "spell", 1);
+            &complain("$line: possible spelling error: $error", "spell");
         }
     }
 }
-- 
GitLab