]> code.delx.au - gnu-emacs/blobdiff - build-aux/git-hooks/commit-msg
Have commit-msg report commit failure
[gnu-emacs] / build-aux / git-hooks / commit-msg
index 31df5ce034acb8a9993c7a8f1d152e8d04048bff..6721d53a582363930c05ab30ecd4ad4edd9f2021 100755 (executable)
@@ -121,6 +121,9 @@ exec $awk '
       print "Empty commit message"
       status = 1
     }
+    if (status != 0) {
+      print "Commit aborted; please see the file 'CONTRIBUTE'"
+    }
     exit status
   }
 ' <"$1"