From 6bab779d41fa81ae544f795a1f9af8344c35427a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 11 Nov 2016 03:50:16 -0500 Subject: remove things that now live elsewhere --- misc/git-hooks/generic | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 misc/git-hooks/generic (limited to 'misc/git-hooks/generic') diff --git a/misc/git-hooks/generic b/misc/git-hooks/generic deleted file mode 100755 index ebf56f4..0000000 --- a/misc/git-hooks/generic +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Generic hook, installs itself as a valid githook(5) and runs whatever it -# finds on hacking.hook.$self -# Format: -# hacking.hooks.post-receive.auto-deploy /srv/http/markpower.hackcoop.com.ar - -git config -f config --get-regexp "hacking.hooks.$(basename ${0}).*" | \ -while read hook repo; do - hook="`echo "${hook}" | cut -d'.' -f4`" - - ${HOME}/.ssh/git-hooks/${hook} ${repo} ${@}