[sysadmin-bin] We should be checking for hooks.mailinglist here



commit 491122efb800eafffcc9f845331d54d4161d30b4
Author: Andrea Veri <averi redhat com>
Date:   Mon Oct 23 13:57:25 2017 +0200

    We should be checking for hooks.mailinglist here

 git/gnome-pre-receive |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/gnome-pre-receive b/git/gnome-pre-receive
index 23c69ce..2fc80b9 100755
--- a/git/gnome-pre-receive
+++ b/git/gnome-pre-receive
@@ -70,7 +70,7 @@ if [[ $(hostname) =~ gitlab(\-test|)\.gnome\.org$ ]]; then
     if [ "$?" -eq 1 ]; then
       git config hooks.emailprefix ""
     fi
-    cat $GIT_CONFIG | grep -q 'hooks.emailprefix'
+    cat $GIT_CONFIG | grep -q 'hooks.mailinglist'
     if [ "$?" -eq 1 ]; then
       git config hooks.mailinglist commits-list gnome org
     fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]