]> git.proxmox.com Git - mirror_zfs.git/blobdiff - scripts/commitcheck.sh
Linux 5.0 compat: ASM_BUG macro
[mirror_zfs.git] / scripts / commitcheck.sh
index 4d37b3a3c721eb80ac520e2fe4fa6d93000ed279..2954b0fd727e1f85d83192231c8c7a56a8501e64 100755 (executable)
@@ -69,10 +69,10 @@ function new_change_commit()
 {
     error=0
 
-    # subject is not longer than 50 characters
-    long_subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '.{51}')
+    # subject is not longer than 72 characters
+    long_subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '.{73}')
     if [ -n "$long_subject" ]; then
-        echo "error: commit subject over 50 characters"
+        echo "error: commit subject over 72 characters"
         error=1
     fi
 
@@ -121,11 +121,6 @@ function openzfs_port_commit()
         error=1
     fi
 
-    # need a approved by line
-    if ! check_tagged_line "Approved by" ; then
-        error=1
-    fi
-
     # need ported by line
     if ! check_tagged_line "Ported-by" ; then
         error=1