github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/githooks/pre-push/check-committer (about) 1 #!/bin/sh 2 3 while read LOCAL_REF LOCAL_SHA REMOTE_REF REMOTE_SHA 4 do 5 if git show $LOCAL_SHA --format=fuller | grep -i -q 'Commit: \+pivotal '; then 6 echo "Committer on $LOCAL_SHA is Pivotal." 7 echo 'Please run "git fr".' 8 exit 1 9 fi 10 done