avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkol...@apache.org
Subject [avro] branch master updated: AVRO-2394: Remove CHANGES.txt check from commit-msg hook (#519)
Date Fri, 17 May 2019 09:39:39 GMT
This is an automated email from the ASF dual-hosted git repository.

nkollar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new d2d26f9  AVRO-2394: Remove CHANGES.txt check from commit-msg hook (#519)
d2d26f9 is described below

commit d2d26f9ef9f498063484a001d64617e993bce751
Author: Brian Lachniet <blachniet@gmail.com>
AuthorDate: Fri May 17 05:39:34 2019 -0400

    AVRO-2394: Remove CHANGES.txt check from commit-msg hook (#519)
---
 share/githooks/commit-msg | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/share/githooks/commit-msg b/share/githooks/commit-msg
index 6a50adc..a2db3f3 100644
--- a/share/githooks/commit-msg
+++ b/share/githooks/commit-msg
@@ -42,17 +42,6 @@ else
     echo "Fail: Must be in this format: ${LOGMESSAGE_FORMAT}"
     exit 1
 fi
-
-ISSUE_ID=$(head -1 ${COMMIT_MSG_FILE} | cut -d':' -f1)
-
-echo -n "= CHANGES.txt mentions ${ISSUE_ID}: "
-if grep -q "${ISSUE_ID}[^0-9]" CHANGES.txt
-then
-    echo "Ok"
-else
-    echo "Fail"
-    exit 1
-fi
 echo "=========================="
 
 exit 0


Mime
View raw message